diff --git a/Automation Rain Records b/Automation Rain Records index b8cad86..ed36b95 100644 --- a/Automation Rain Records +++ b/Automation Rain Records @@ -3,18 +3,18 @@ description: "" trigger: - platform: state entity_id: - - sensor.gw1100a_v2_2_3_total_rain + - sensor. condition: [] action: - choose: - conditions: - condition: numeric_state - entity_id: sensor.gw1100a_v2_2_3_daily_rain_rate + entity_id: sensor. above: input_number.highest_daily_recorded_rainfall sequence: - service: input_number.set_value data: - value: "{{states('sensor.gw1100a_v2_2_3_daily_rain_rate')}}" + value: "{{states('sensor.')}}" target: entity_id: input_number.highest_daily_recorded_rainfall - service: input_datetime.set_datetime @@ -24,12 +24,12 @@ action: entity_id: input_datetime.highest_daily_rainfall_date - conditions: - condition: numeric_state - entity_id: sensor.gw1100a_v2_2_3_weekly_rain_rate + entity_id: sensor. above: input_number.highest_weekly_recorded_rainfall sequence: - service: input_number.set_value data: - value: "{{states('sensor.gw1100a_v2_2_3_weekly_rain_rate')}}" + value: "{{states('sensor.')}}" target: entity_id: input_number.highest_weekly_recorded_rainfall - service: input_datetime.set_datetime @@ -39,12 +39,12 @@ action: entity_id: input_datetime.highest_weekly_rainfall_date - conditions: - condition: numeric_state - entity_id: sensor.gw1100a_v2_2_3_monthly_rain_rate + entity_id: sensor. above: input_number.highest_monthly_recorded_rainfall sequence: - service: input_number.set_value data: - value: "{{states('sensor.gw1100a_v2_2_3_monthly_rain_rate')}}" + value: "{{states('sensor.')}}" target: entity_id: input_number.highest_monthly_recorded_rainfall - service: input_datetime.set_datetime