Advertisement
jsg4

Untitled

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