diff --git a/config/configuration.yaml b/config/configuration.yaml index a189ec9..8363a86 100644 --- a/config/configuration.yaml +++ b/config/configuration.yaml @@ -65,9 +65,6 @@ lovelace: # https://www.home-assistant.io/components/system_health system_health: -# https://www.home-assistant.io/components/updater -updater: - # https://www.home-assistant.io/components/logger logger: default: warning @@ -151,6 +148,7 @@ logbook: # https://www.home-assistant.io/integrations/media_extractor # TODO: Add to media module +media_source: media_extractor: # https://www.home-assistant.io/integrations/mobile_app diff --git a/config/lovelace/button_card_templates/v3/v3_button_purifier.yaml b/config/lovelace/button_card_templates/v3/v3_button_purifier.yaml index 2fe7c67..caf11e9 100644 --- a/config/lovelace/button_card_templates/v3/v3_button_purifier.yaml +++ b/config/lovelace/button_card_templates/v3/v3_button_purifier.yaml @@ -3,7 +3,8 @@ v3_button_purifier: state_display: | [[[ if (entity.state === 'off') { return 'Off'; } - return entity.attributes.speed.charAt(0).toUpperCase() + entity.attributes.speed.slice(1); + if (!entity.attributes.preset_mode) { return 'Unknown preset'; } + return entity.attributes.preset_mode.charAt(0).toUpperCase() + entity.attributes.preset_mode.slice(1); ]]] variables: value_has_error: | diff --git a/config/packages/devices/living_room/tv.yaml b/config/packages/devices/living_room/tv.yaml index 896204f..3828891 100644 --- a/config/packages/devices/living_room/tv.yaml +++ b/config/packages/devices/living_room/tv.yaml @@ -1,11 +1,11 @@ # https://www.home-assistant.io/integrations/webostv -webostv: - - host: !secret living_room_tv_ip - name: Living Room TV - turn_on_action: - service: wake_on_lan.send_magic_packet - data: - mac: !secret living_room_tv_mac +# webostv: +# - host: !secret living_room_tv_ip +# name: Living Room TV +# turn_on_action: +# service: wake_on_lan.send_magic_packet +# data: +# mac: !secret living_room_tv_mac media_player: - platform: androidtv @@ -91,6 +91,14 @@ script: command: "adb shell am start -n \"com.android.systemui/.Somnambulator\"" automation: + - alias: TV · Turn on + trigger: + - platform: webostv.turn_on + entity_id: media_player.living_room_tv + action: + - service: wake_on_lan.send_magic_packet + data: + mac: 78:5D:C8:C9:DB:76 - alias: TV · Join Beam to Sonos group when off trigger: platform: state diff --git a/config/packages/sensors/space.yaml b/config/packages/sensors/space.yaml index bac8dbc..0bf052d 100644 --- a/config/packages/sensors/space.yaml +++ b/config/packages/sensors/space.yaml @@ -2,7 +2,7 @@ sun: sensor: - - platform: launch_library + # - platform: launch_library - platform: moon binary_sensor: