Explore Plans
Mobile menu Close menu
PowahomePowahome

History of when a socket was switched off

This query returns a list of when a socket was switched off in the room you select.

Developer info

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

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.historyOfWhenASocketWasSwitchedOff.HappenedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

StateThe state of the socket after the event.

Slug
state
Filter code
Powahome.historyOfWhenASocketWasSwitchedOff.State
Type
String
Example
true

NameThe name of the socket switched off.

Slug
name
Filter code
Powahome.historyOfWhenASocketWasSwitchedOff.Name
Type
String
Example
Lamp

Room nameThe name of the room where the socket is installed.

Slug
room_name
Filter code
Powahome.historyOfWhenASocketWasSwitchedOff.RoomName
Type
String
Example
Kitchen