Lighting Switch

This documentation was generated from: lighting_switch.json

AttributeValue
status Gold
product Lighting Switch
modelid Lighting Switch
manufacturername dresden elektronik

1. ZHASwitch

Endpoint: /sensors

Top level attributes

AttributeDatatypeDescriptionAccess
id String Identifier of the resource, unique within an endpoint. R
lastannounced ISO 8601 timestamp Timestamp of the last power-cyle or rejoin. R
lastseen ISO 8601 timestamp Timestamp of the last communication. R
manufacturername String "dresden elektronik" R
modelid String "Lighting Switch" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "ZHASwitch" R
uniqueid String Unique identifier of the resource. R
mode UInt32 Operational mode.

Default: 2

  • 0 — none
  • 1 — scenes
  • 2 — two_groups
  • 3 — color_temperature
  • 4 — dimmer
RW
modelid String "Lighting Switch" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "ZHASwitch" R
uniqueid String Unique identifier of the resource. R

Config attributes

AttributeDatatypeDescriptionAccess
group String comma seperated list of groups which a device controls.

Default: 65535

RW
on Bool When true the sensor is enabled in rules.

Default: true

RW
reachable Bool When true the device is assumed to be operational. R

State attributes

AttributeDatatypeDescriptionAccess
buttonevent UInt32 The last received button event. R
lastupdated ISO 8601 timestamp Timestamp when state was last updated. R

2. ZHASwitch

Endpoint: /sensors

Top level attributes

AttributeDatatypeDescriptionAccess
id String Identifier of the resource, unique within an endpoint. R
lastannounced ISO 8601 timestamp Timestamp of the last power-cyle or rejoin. R
lastseen ISO 8601 timestamp Timestamp of the last communication. R
manufacturername String "dresden elektronik" R
modelid String "Lighting Switch" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "ZHASwitch" R
uniqueid String Unique identifier of the resource. R
mode UInt32 Operational mode.

Default: 2

  • 0 — none
  • 1 — scenes
  • 2 — two_groups
  • 3 — color_temperature
  • 4 — dimmer
RW
modelid String "Lighting Switch" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "ZHASwitch" R
uniqueid String Unique identifier of the resource. R

Config attributes

AttributeDatatypeDescriptionAccess
group String comma seperated list of groups which a device controls.

Default: 65535

RW
on Bool When true the sensor is enabled in rules.

Default: true

RW
reachable Bool When true the device is assumed to be operational. R

State attributes

AttributeDatatypeDescriptionAccess
buttonevent UInt32 The last received button event. R
lastupdated ISO 8601 timestamp Timestamp when state was last updated. R