Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/local/lib/node_modules/homebridge-homeassistant/accessories/light.js:43
- if (old_state.state != new_state.state) {
- ^
- TypeError: Cannot read property 'state' of null
- at Object.HomeAssistantLight.onEvent (/usr/local/lib/node_modules/homebridge-homeassistant/accessories/light.js:43:18)
- at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-homeassistant/index.js:69:19)
- at emitOne (events.js:77:13)
- at EventSource.emit (events.js:169:7)
- at _emit (/usr/local/lib/node_modules/homebridge-homeassistant/node_modules/eventsource/lib/eventsource.js:181:17)
- at parseEventStreamLine (/usr/local/lib/node_modules/homebridge-homeassistant/node_modules/eventsource/lib/eventsource.js:196:9)
- at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-homeassistant/node_modules/eventsource/lib/eventsource.js:159:11)
- at emitOne (events.js:77:13)
- at IncomingMessage.emit (events.js:169:7)
- at readableAddChunk (_stream_readable.js:146:16)
- at IncomingMessage.Readable.push (_stream_readable.js:110:10)
- at HTTPParser.parserOnBody (_http_common.js:109:22)
- at Socket.socketOnData (_http_client.js:305:20)
- at emitOne (events.js:77:13)
- at Socket.emit (events.js:169:7)
- at readableAddChunk (_stream_readable.js:146:16)
- at Socket.Readable.push (_stream_readable.js:110:10)
- at TCP.onread (net.js:523:20)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement