mirror of
https://github.com/Adam-Ant/home-assistant
synced 2024-11-08 21:16:23 +00:00
Add MQTT fan
This commit is contained in:
parent
97854f4a3c
commit
5f73deb57d
@ -50,6 +50,8 @@ notify: !include notify.yaml
|
||||
|
||||
sensor: !include_dir_merge_list sensors
|
||||
|
||||
fan: !include fan.yaml
|
||||
|
||||
media_player:
|
||||
- platform: samsungtv
|
||||
name: Adams TV
|
||||
|
10
fan.yaml
Normal file
10
fan.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
- platform: mqtt
|
||||
name: "Bedroom Fan"
|
||||
command_topic: "bed/fan1/command"
|
||||
state_topic: "bed/fan1/state"
|
||||
speed_command_topic: "bed/fan1/state"
|
||||
speed_state_topic: "bed/fan1/state"
|
||||
retain: true
|
||||
speeds:
|
||||
- low
|
||||
- high
|
@ -4,3 +4,4 @@ entities:
|
||||
- sensor.temperature_1
|
||||
- sensor.humidity_1
|
||||
- light.dev
|
||||
- fan.bedroom_fan
|
||||
|
Loading…
Reference in New Issue
Block a user