Migrated LG to new WoL setup. Added hygrostat automation and control for bathroom.

This commit is contained in:
Marcus Scholz 2022-03-28 18:54:17 +02:00
parent 4e770ce3ff
commit 33724132ff
3 changed files with 28 additions and 10 deletions

View File

@ -367,3 +367,12 @@
- 32d15eec63fe68d5770813d47da53657 - 32d15eec63fe68d5770813d47da53657
- 53a27edf581fcf40f3bc8b253b1ee369 - 53a27edf581fcf40f3bc8b253b1ee369
mode: single mode: single
- id: '1648485179021'
alias: Schalte den Fernseher mit WoL ein
trigger:
- platform: webostv.turn_on
entity_id: media_player.lg_webos_smart_tv
action:
- service: wake_on_lan.send_magic_packet
data:
mac: a8:23:fe:5d:4c:f8

View File

@ -23,8 +23,6 @@ scene: !include scenes.yaml
# Enable additional integrations # Enable additional integrations
# Enable 'wake_on_lan' intrgration # Enable 'wake_on_lan' intrgration
wake_on_lan: wake_on_lan:
# Configure LG WebOS TV integration
webostv: !include webostv.yaml
# Enable customizations # Enable customizations
homeassistant: homeassistant:
@ -85,3 +83,22 @@ media_player:
platform: mpd platform: mpd
host: 192.168.122.48 host: 192.168.122.48
scan_interval: 1 scan_interval: 1
generic_hygrostat:
- name: Badezimmer
humidifier: switch.badezimmer_ventilator
target_sensor: sensor.badezimmer_luftfeuchtigkeit
min_humidity: 30
max_humidity: 70
target_humidity: 50
dry_tolerance: 3
wet_tolerance: 3
device_class: "dehumidifier"
min_cycle_duration:
seconds: 300
# keep_alive:
# minutes: 3
initial_state: true
away_humidity: 35
away_fixed: False
sensor_stale_duration: 00:15:00

View File

@ -1,8 +0,0 @@
host: 192.168.122.15
#other settings
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: a8-23-fe-5d-4c-f8
broadcast_address: 192.168.122.255