mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-03 11:31:42 +00:00
- Updated comments in various YAML configuration files to provide clearer descriptions of functionalities and integrations. - Improved documentation for alarm, alexa_media_player, backups, blink, cbyge, climate, finance, fridge, garadget, glances, hass_agent_homepc, holiday, ios, landscape_lighting, lightning, logger, medicine, nfc_tags, noonhome, office_motion, phynplus, powerwall, printer, processmonitor, proxmox, rachio, rheem_econet, roku, sleepiq, space, speedtest, stats, superbowl, vacuum, wireless, and youtube packages. - Added relevant links and issue references where applicable to enhance user guidance and support.
76 lines
2.3 KiB
YAML
Executable File
76 lines
2.3 KiB
YAML
Executable File
#-------------------------------------------
|
|
# @CCOSTAN
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
# Roku - Presence detection and remote finder.
|
|
#-------------------------------------------
|
|
######################################################################
|
|
## Roku media sensors and utility helpers. https://amzn.to/2Ctp8cr
|
|
######################################################################
|
|
input_boolean:
|
|
living_room_remote_finder:
|
|
name: "Living Room Remote Finder"
|
|
initial: off
|
|
icon: mdi:remote
|
|
|
|
##############################################################################
|
|
### Automations
|
|
##############################################################################
|
|
automation:
|
|
- alias: 'Find Roku Remote'
|
|
id: 2346efcd-e8a8-ROKU-b5b6-43e54a72a95f
|
|
mode: queued
|
|
trigger:
|
|
- platform: state
|
|
entity_id: input_boolean.living_room_remote_finder
|
|
to: 'on'
|
|
|
|
- platform: event
|
|
event_type: mobile_app_notification_action
|
|
event_data:
|
|
action: LR_REMOTE_NOT_FOUND
|
|
|
|
action:
|
|
- service: remote.send_command
|
|
entity_id: remote.living_room_ultra
|
|
data:
|
|
command: find_remote
|
|
|
|
- service: notify.ios_family
|
|
data:
|
|
title: Living Room Remote Finder
|
|
message: Have you found the Remote?
|
|
data:
|
|
actions:
|
|
- action: LR_REMOTE_FOUND
|
|
title: Remote Found
|
|
activationMode: background
|
|
authenticationRequired: false
|
|
destructive: false
|
|
|
|
- action: LR_REMOTE_NOT_FOUND
|
|
title: Not Yet
|
|
activationMode: background
|
|
authenticationRequired: false
|
|
destructive: true
|
|
|
|
- service: input_boolean.turn_off
|
|
entity_id: input_boolean.living_room_remote_finder
|
|
|
|
- alias: "Living Room Remote Found"
|
|
id: 1f295bb8-ROKU-4b22-8f75-9fe079b295a8
|
|
trigger:
|
|
platform: event
|
|
event_type: mobile_app_notification_action
|
|
event_data:
|
|
action: LR_REMOTE_FOUND
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
entity_id: input_boolean.living_room_remote_finder
|
|
|
|
- service: script.notify_engine
|
|
data:
|
|
title: 'Living Room Remote'
|
|
value1: 'Remote has been found.'
|
|
who: "family"
|
|
group: 'RemoteLR'
|