mirror of
https://github.com/Adam-Ant/home-assistant
synced 2024-12-20 12:54:35 +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
|
sensor: !include_dir_merge_list sensors
|
||||||
|
|
||||||
|
fan: !include fan.yaml
|
||||||
|
|
||||||
media_player:
|
media_player:
|
||||||
- platform: samsungtv
|
- platform: samsungtv
|
||||||
name: Adams TV
|
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.temperature_1
|
||||||
- sensor.humidity_1
|
- sensor.humidity_1
|
||||||
- light.dev
|
- light.dev
|
||||||
|
- fan.bedroom_fan
|
||||||
|
Loading…
Reference in New Issue
Block a user