This query returns a list of when a socket was switched off in the room you select.
- API endpoint slug
- powahome.history_of_when_a_socket_was_switched_off
- Runtime method
- performQuery("powahome.history_of_when_a_socket_was_switched_off")
Query fields
- Label
- Which room?
- Helper text
- The name of the room to monitor
- Slug
- room_uuid
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- happened_at
- Filter code
- Powahome.historyOfWhenASocketWasSwitchedOff.HappenedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- state
- Filter code
- Powahome.historyOfWhenASocketWasSwitchedOff.State
- Type
- String
- Example
- true
- Slug
- name
- Filter code
- Powahome.historyOfWhenASocketWasSwitchedOff.Name
- Type
- String
- Example
- Lamp
- Slug
- room_name
- Filter code
- Powahome.historyOfWhenASocketWasSwitchedOff.RoomName
- Type
- String
- Example
- Kitchen