Explore Plans
Mobile menu Close menu
PowahomePowahome

History of light switched on

This query returns a list of when the light you select was switched on.

Developer info

API endpoint slug
powahome.history_of_light_switched_on
Runtime method
performQuery("powahome.history_of_light_switched_on")

Query fields

Mac and channel Dropdown list

Label
Which light?
Helper text
The name of the light to monitor
Slug
mac_and_channel
Required
true
Can have default value
false

Ingredients

Happened atDate and time event was happened.

Slug
happened_at
Filter code
Powahome.historyOfLightSwitchedOn.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.historyOfLightSwitchedOn.State
Type
String
Example
true

NameThe name of the light switched on.

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

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

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