From 5b2fd1caf2cf63314d3eecc15ee3d9b64174ea9d Mon Sep 17 00:00:00 2001 From: Ben Campbell Date: Mon, 18 Mar 2024 22:29:40 +0000 Subject: [PATCH] Add HA Dishwasher MQTT example --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index edff297..c56092a 100644 --- a/README.md +++ b/README.md @@ -382,7 +382,7 @@ fan: payload_on: "On" payload_off: "Off" light: - - name: "Hood Work Light" # We can only turn the light on, but not off. + - name: "Hood Work Light" # We can only turn the light on, but not off as no command_template state_topic: "homeconnect/hood/state" state_value_template: "{{ value_json.Lighting }}" brightness_state_topic: "homeconnect/hood/state" @@ -410,4 +410,16 @@ binary_sensor: payload_off: "Closed" device_class: door json_attributes_topic: "homeconnect/refrigerator/state" + - name: "Dishwasher" + state_topic: "homeconnect/dishwasher/state" + value_template: "{{ value_json.PowerState }}" + payload_on: "On" + payload_off: "Off" + json_attributes_topic: "homeconnect/dishwasher/state" + - name: "Dishwasher Door" + state_topic: "homeconnect/dishwasher/state" + value_template: "{{ value_json.DoorState }}" + payload_on: "Open" + payload_off: "Closed" + device_class: door ```