Browse Source

readme / home assistant: added cover configuration

Fabian Peter Hammerle 3 years ago
parent
commit
ac664f4655
1 changed files with 7 additions and 1 deletions
  1. 7 1
      README.md

+ 7 - 1
README.md

@@ -79,11 +79,17 @@ mqtt:
 # https://www.home-assistant.io/integrations/switch.mqtt/#configuration-variables
 switch:
 - platform: mqtt
-  name: some_name
+  name: switchbot_button
   command_topic: homeassistant/switch/switchbot/aa:bb:cc:dd:ee:ff/set
   state_topic: homeassistant/switch/switchbot/aa:bb:cc:dd:ee:ff/state
   # http://materialdesignicons.com/
   icon: mdi:light-switch
+
+cover:
+- platform: mqtt
+  name: switchbot_curtains
+  command_topic: homeassistant/cover/switchbot-curtain/11:22:33:44:55:66/set
+  state_topic: homeassistant/cover/switchbot-curtain/11:22:33:44:55:66/state
 ```
 
 ## Docker 🐳