states property

Map<String, Object?>? states
getter/setter pair

States of devices to update.

See the Device STATES section of the individual trait reference guides.

The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.

Implementation

core.Map<core.String, core.Object?>? states;