Open martinezpenya opened 5 years ago
Added a 5V Relay to the sensor:
In HA (switch):
In HA (light)
Othe sensors as before.
Added a 5V Relay to the sensor:
In HA (switch):
state_topic: "bruh/sensornode1"
command_topic: "bruh/sensornode1/relay" value_template: '{{ value_json.relay }}' qos: 0 retain: true
In HA (light)
name: "sensornode1 light"
state_topic: "bruh/sensornode1"
command_topic: "bruh/sensornode1/light"
assumed_state: false brightness: true flash: false
rgb: true
optimistic: false qos: 0
Othe sensors as before.