Energy - Gas - Pulse Received

Anonymous
yaml
12/07/2021 7:22 PM
596 B
14
Indexable
- id: energy_gas_pulse_received
  alias: Energy - Gas - Pulse Received
  trigger:
  - platform: state
    entity_id: binary_sensor.pulse_gas_contact
  condition:
  - condition: state
    entity_id: binary_sensor.pulse_gas_contact
    state: 'off'
  action:
  - service: input_number.set_value
    data_template:
      entity_id: input_number.gas_meter_m3
      value: '{{ (states.input_number.gas_meter_m3.state | float ) + 0.010 }}'
Editor is loading...