(entity: Group | Device)
| 111 | } |
| 112 | |
| 113 | get(entity: Group | Device): KeyValue { |
| 114 | return this.state.get(entity.ID) || {}; |
| 115 | } |
| 116 | |
| 117 | set(entity: Group | Device, update: KeyValue, reason?: string): KeyValue { |
| 118 | const fromState = this.state.get(entity.ID) || {}; |
no outgoing calls