[ { "id": "turn_tv_on_if_not_already_on", "result": { "structured": "TRIGGER: When TV [media_player.tv] receives a turn_on command. CONDITIONS: None. ACTIONS: Send a Wake-on-LAN magic packet to the TV's MAC address.", "natural_language": { "trigger": "When a command is sent to turn on the TV [media_player.tv].", "conditions": "There are no conditions for this automation.", "action": "Sends a Wake-on-LAN magic packet to the TV's specified MAC address to power it on." }, "human_like": "Turns the TV on by sending a network wake-up signal when a turn-on command is received.", "complexity": "low" } }, { "id": "renew_lgtv_developer_mode_session_weekly", "result": { "structured": "TRIGGER: At 01:01:01. CONDITIONS: Day of week is Sunday. ACTIONS: Execute rest_command.renew_lgtv_developer_mode_session.", "natural_language": { "trigger": "Every day at 1:01 AM and 1 second.", "conditions": "The automation only runs if the current day is Sunday.", "action": "Calls the service 'rest_command.renew_lgtv_developer_mode_session' to renew the LG TV's developer mode session." }, "human_like": "Renews the LG TV's developer mode session every Sunday morning to keep the TV app launcher and media state reporter functional.", "complexity": "low" } }, { "id": "reset_security_monitoring_start_time", "result": { "structured": "TRIGGER: When security monitoring [sensor.security_monitoring] changes state. CONDITIONS: The previous state of security monitoring [sensor.security_monitoring] was 'off'. ACTIONS: Set the date and time of security monitoring start time [input_datetime.security_monitoring_start_time] to the current time.", "natural_language": { "trigger": "Whenever the state of the security monitoring [sensor.security_monitoring] changes.", "conditions": "The condition is that the security monitoring [sensor.security_monitoring] was previously in the 'off' state before the change.", "action": "Updates the security monitoring start time [input_datetime.security_monitoring_start_time] to the current date and time." }, "human_like": "Records the current time as the start of security monitoring whenever monitoring is activated from an 'off' state.", "complexity": "low" } }, { "id": "update_device_issue_and_battery_groups", "result": { "structured": "TRIGGER: When a group reload service is called OR every 5 minutes. CONDITIONS: None. ACTIONS: 1. Update group unavailable_entities with a list of entities that are not in allowed lists, have a valid entity_id, are not of excluded domains (button, event, group, image, select), and have not changed in the last 5 minutes. Allowed lists include: power meter relative self consumption [sensor.power_meter_relative_self_consumption], iBeacon Tracker entities, Netgear entities ending with '_ssid', entities with state 'unknown' from sensor.extreme_forecast [sensor.extreme_forecast], and entities with state 'unknown' for at least 3 hours from rachel's phone detected activity [sensor.rachel_s_phone_detected_activity] and rachel's phone still [binary_sensor.rachel_s_phone_still]. Also excludes entities listed in disabled device entities [sensor.disabled_device_entities]. 2. Update group frozen_entities with a list of entities that have not been updated for a specified duration. This includes specific entities (outside apparent temperature [sensor.outside_apparent_temperature], bedroom presence sensor esp temperature [sensor.bedroom_presence_sensor_esp_temperature], kitchen presence sensor esp temperature [sensor.kitchen_presence_sensor_esp_temperature], nursery presence sensor esp temperature [sensor.nursery_presence_sensor_esp_temperature], office presence sensor esp temperature [sensor.office_presence_sensor_esp_temperature], smart meter real power [sensor.smart_meter_real_power], power meter power load consumed [sensor.power_meter_power_load_consumed]) if not updated for 10 minutes, and sensors with entity_id matching patterns 'r_temperature$', 'feels_like', 'voltage$', 'last_seen', plus nursery heater uncalibrated temperature [sensor.nursery_heater_uncalibrated_temperature] if not updated for 12 hours. 3. Update group low_batteries with a list of sensor entities with 'battery_level' in their entity_id and a numeric state less than or equal to 25. 4. Update group charging_batteries with a list of sensor entities with 'charging_status' or 'battery_state' in their entity_id and a state of 'charging', 'Charging', 'full', or 'Full', then replacing those suffixes with 'battery_level'.", "natural_language": { "trigger": "This automation runs whenever the group.reload service is called, or automatically every five minutes.", "conditions": "There are no conditions for this automation.", "action": "The automation performs four distinct group updates. First, it updates the 'unavailable_entities' group to contain entities that are considered unavailable. It excludes specific allowed entities (like the power meter relative self consumption [sensor.power_meter_relative_self_consumption], iBeacon trackers, certain Netgear SSID sensors, and some entities that are allowed to be in an 'unknown' state for a defined period). It also excludes entities listed in the disabled device entities [sensor.disabled_device_entities] sensor, entities from certain domains (like buttons and events), and any entity that has been updated in the last five minutes. Second, it updates the 'frozen_entities' group. It adds specific temperature and power sensors if they haven't been updated in 10 minutes, and a broader set of sensors (matching patterns for temperature, feels_like, voltage, and last_seen, plus the nursery heater uncalibrated temperature [sensor.nursery_heater_uncalibrated_temperature]) if they haven't been updated in 12 hours. Third, it updates the 'low_batteries' group to include all battery level sensors with a reported level of 25% or lower. Fourth, it updates the 'charging_batteries' group to include entities that report a charging or full status, converting their entity IDs to the corresponding battery level sensor IDs." }, "human_like": "This automation periodically updates several device status groups, identifying unavailable, frozen, low-battery, and charging devices to help monitor system health.", "complexity": "high" } }, { "id": "reset_plants_last_watered", "result": { "structured": "TRIGGER: When dry plants [sensor.dry_plants] changes to 0 from any state except 0, unknown, unavailable, or none. CONDITIONS: None. ACTIONS: Set plants last watered [input_datetime.plants_last_watered] to the current date and time.", "natural_language": { "trigger": "When the sensor tracking dry plants [sensor.dry_plants] changes its state to zero, but only if it wasn't already zero, unknown, unavailable, or none.", "conditions": "There are no conditions that must be checked.", "action": "Updates the 'plants last watered' [input_datetime.plants_last_watered] tracker to the current date and time." }, "human_like": "Updates the timestamp for when the plants were last watered whenever all plants are no longer reported as dry.", "complexity": "low" } } ]