[ { "id": "' Coffee power plug disable at 6pm.'", "result": { "structured": "TRIGGER: When the time is 18:00:00. CONDITIONS: The current day is Monday OR Tuesday OR Wednesday OR Thursday OR Friday. ACTIONS: Turn off coffee power plug [ENTITY_ID_HERE].", "natural_language": { "trigger": "At 6:00 PM.", "conditions": "Only on weekdays (Monday through Friday).", "action": "Turns off the coffee power plug [ENTITY_ID_HERE]." }, "human_like": "Turns off the coffee maker's power plug every weekday evening at 6 PM.", "complexity": "low" } }, { "id": "Uusi automaatio", "result": { "structured": "TRIGGER: When dht11 humidity sensor [sensor.dht11_humiditysensor] reports a value above 33. CONDITIONS: None. ACTIONS: Turn on coffee power plug [ENTITY_ID_HERE].", "natural_language": { "trigger": "When the dht11 humidity sensor [sensor.dht11_humiditysensor] detects a humidity level above 33%.", "conditions": "There are no conditions that must be met.", "action": "Turns on the coffee power plug [ENTITY_ID_HERE]." }, "human_like": "Turns on a coffee maker when the humidity rises above a certain level.", "complexity": "low" } }, { "id": "mqtt-pub-coffee-maker-switch", "result": { "structured": "TRIGGER: When the state of any of the following entities changes: switch sensor [switch.SWITCH_NAME], sensor 1 [sensor.SENSOR_NAME], sensor 2 [sensor.SENSOR_NAME_current], sensor 3 [sensor.SENSOR_NAME_power], sensor 4 [sensor.SENSOR_NAME_voltage]. CONDITIONS: None. ACTIONS: Publish an MQTT message to the topic 'test/topic' with a JSON payload containing the current state of switch sensor [switch.SENSOR_NAME], the name 'coffee-maker-switch', the entity name 'switch.SENSOR_NAME', and the current, power, and voltage values from sensor 2 [sensor.SENSOR_NAME_current], sensor 3 [sensor.SENSOR_NAME_power], and sensor 4 [sensor.SENSOR_NAME_voltage] respectively, along with a device availability flag based on the state of switch sensor 2 [switch.SENSOR_NAME_1].", "natural_language": { "trigger": "Whenever there is a change in the state of the switch sensor [switch.SWITCH_NAME], sensor 1 [sensor.SENSOR_NAME], sensor 2 [sensor.SENSOR_NAME_current], sensor 3 [sensor.SENSOR_NAME_power], or sensor 4 [sensor.SENSOR_NAME_voltage].", "conditions": "There are no conditions that must be met for the action to run.", "action": "Publishes a detailed status message via MQTT. The message is sent to the topic 'test/topic' and includes the current state of a switch (referenced as switch.SENSOR_NAME), the device name 'coffee-maker-switch', and the latest readings for current, power, and voltage from the corresponding sensors. It also calculates and includes a flag indicating if the device is available, based on whether the switch sensor 2 [switch.SENSOR_NAME_1] is unavailable." }, "human_like": "Publishes the status and sensor readings of a coffee maker to an MQTT topic whenever any related sensor or switch changes state.", "complexity": "medium" } } ]