About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This trigger fires when a light is switched on in the room you select.
- API endpoint slug
- powahome.any_light_in_a_room_switched_on
Trigger fields
Room uuid Dropdown list
- Label
- Which room?
- Helper text
- The name of the room to monitor
- Slug
- room_uuid
- Required
- true
- Can have default value
- false
Ingredients
Happened atDate and time event was happened.
- Slug
- happened_at
- Filter code
- Powahome.anyLightInARoomSwitchedOn.HappenedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
StateThe state of the light after the event.
- Slug
- state
- Filter code
- Powahome.anyLightInARoomSwitchedOn.State
- Type
- String
- Example
- true
NameThe name of the light switched on.
- Slug
- name
- Filter code
- Powahome.anyLightInARoomSwitchedOn.Name
- Type
- String
- Example
- Lamp
Room nameThe name of the room where the light is installed.
- Slug
- room_name
- Filter code
- Powahome.anyLightInARoomSwitchedOn.RoomName
- Type
- String
- Example
- Kitchen