Skip to content

Commit

Permalink
Add a sonoff switch to control the office water cooler.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikalstill committed Mar 27, 2019
1 parent f092088 commit 843ca9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions automation/office.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
- service: vacuum.turn_on
data:
entity_id: vacuum.claude_von_roomba
- service: switch.turn_on
entity_id: switch.office_water_cooler

#- alias: 'Office power down'
# hide_entity: false
Expand All @@ -39,6 +41,9 @@
# - service: light.turn_off
# entity_id: light.office_lights_4
# - service: script.office_aircon_power_off
#
# - service: switch.turn_on
# entity_id: switch.office_water_cooler

# Attempt to manage the light levels in the office, but only during reasonable
# hours, if I am home, and if the desk lamp is on. The desk lamp is the bat
Expand Down
4 changes: 4 additions & 0 deletions switches/sonoff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Brilliant Wifi Smart PLug running Tasmota. Controls the office water cooler.
- platform: mqtt
name: "Office water cooler"
command_topic: "cmnd/sonoff8/POWER1"

0 comments on commit 843ca9d

Please sign in to comment.