Gas Automation

 avatar
squekk21
yaml
3 years ago
446 B
6
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...