2019-09-02 09:08:43 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2019-09-02 09:08:43 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for var which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2019-09-02 09:08:43 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2019-09-02 09:08:43 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2019-09-02 09:08:47 INFO (MainThread) [custom_components.alexa_media] ------------------------------------------------------------------- alexa_media Version: 2.0.1 This is a custom component If you have any issues with this you need to open an issue here: https://github.com/custom-components/alexa_media_player/issues ------------------------------------------------------------------- 2019-09-02 09:08:47 INFO (MainThread) [custom_components.alexa_media] Loaded alexapy==1.0.1 2019-09-02 09:08:47 DEBUG (MainThread) [alexapy.alexalogin] Trying to load cookie from file /home/homeassistant/.homeassistant/alexa_media.amazon@genem.org.pickle 2019-09-02 09:08:50 DEBUG (MainThread) [alexapy.alexalogin] cookie loaded: {'session-id': '140-6479908-1351625', 'session-id-time': '2197474628l', 'ubid-main': '130-6350509-1763602', 'session-token': '+AfSYRFR7Oj/4BTu7c/V/QuU6oWTyJ9QbN1L3UPhdh4hU5frkjWHiiYqyaVCdVE0TLObwzJn75dgoFeHAXe3XC9cp3oklJoVRxGvt6N2DY2IplKxhIndAY8P9qP19XG/5hIboxM9UwBFcPpeztf0JS4ha0eiU0Oz87qNQpn8/LjH4xpgqpkepeIYKrNr9ZlisArRFmUDhftRZsNTbmj2kZ1Xh3iCx5d3B2s5cHvvNuA=', 'sid': 'UA4/XCOcliR2V1HJJZih0w==|HN9W8wsKQ/bo5G7DAlG0E0Hjc4LExgm8Mlwq/OU2vC0=', 'x-main': 'PtTCDf@o2QXFD4cJzacCA7EBS7Rc2Phe', 'at-main': 'Atza|IwEBIPXUFTIguWTQtBBoE6g2nRIEnQ8JVYc5lfSWtlRgxYM_f2Ectm48Qo6_YWMAqMo2dy2E53X80XD4AtoUQxo0RTNS1EKNfNWw_r5l5rkwIScJPwvqhvjRquEJorunJJla0Omf-t9X8JTzM0NCixmtBFIqdrYS9UmlaHtgXLky-kvlXeyFX_Al4lIJpX2YSbq68CIRRbMxKcsz4-DR7SPsQrW2RKywlj0k-uKPaXq5AM_DXh9I_gfZWY72WOnWH7plma3MBaAF1pGgNyRuVVktIzgUbhGuXhEG0kIpGM0JkXBRikY7i0Im_kJJqf1aqww377yIG_g2AymZrvRuWRn23TB4KjhIiAoA3l0bw3PuEAQeRyjZyMLvoEKtyVR6QJWp1qda16y7KwTVUBuuFSUWLFIYtncov6ea7UH84yOFIZplXO-KmBAFrINOEDGrtzJkG0MiTcYJVxmSv8A7tkLPmatzAnl7jYkD7deZe1UVgJQ7yQ', 'sess-at-main': '+pNBBx0lhOEroqKfgUfPRx9WjfMh0EbWdEFvl2/hdco=', 'csrf': '-432764741'} 2019-09-02 09:08:53 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py", line 223, in async_setup_platform self.hass, self.config, self.domain, platform_type File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 227, in async_prepare_setup_platform integration = await loader.async_get_integration(hass, platform_name) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 283, in async_get_integration Integration.resolve_from_root, hass, components, domain File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 154, in resolve_from_root manifest_path = pathlib.Path(base) / domain / "manifest.json" File "/usr/local/lib/python3.7/pathlib.py", line 901, in __truediv__ return self._make_child((key,)) File "/usr/local/lib/python3.7/pathlib.py", line 688, in _make_child drv, root, parts = self._parse_args(args) File "/usr/local/lib/python3.7/pathlib.py", line 642, in _parse_args a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType 2019-09-02 09:08:56 ERROR (SyncWorker_0) [homeassistant.components.darksky.sensor] Unable to connect to Dark Sky: 400 Client Error: Bad Request for url: https://api.darksky.net/forecast/8bc794cc863fa7a86d154a92616d6332/37.275802500000005,-121.76140234374998?units=us&lang=en 2019-09-02 09:08:57 DEBUG (MainThread) [alexapy.alexawebsocket] Initating Async Handshake. 2019-09-02 09:08:57 DEBUG (MainThread) [alexapy.alexawebsocket] Starting message parsing loop. 2019-09-02 09:08:57 DEBUG (MainThread) [alexapy.alexawebsocket] msg: WSMessage(type=, data=b'0xbafef3f3 0x000000cd {"protocolName":"A:H","parameters":{"AlphaProtocolHandler.supportedEncodings":"GZIP","AlphaProtocolHandler.maxFragmentSize":"16000","AlphaProtocolHandler.receiveWindowSize":"16"}}TUNE', extra='') 2019-09-02 09:08:57 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket MSG. 2019-09-02 09:08:57 DEBUG (MainThread) [alexapy.alexawebsocket] Received b'0xbafef3f3 0x000000cd {"protocolName":"A:H","parameters":{"AlphaProtocolHandler.supportedEncodings":"GZIP","AlphaProtocolHandler.maxFragmentSize":"16000","AlphaProtocolHandler.receiveWindowSize":"16"}}TUNE' 2019-09-02 09:08:58 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding WebSocket Handshake MSG. 2019-09-02 09:08:59 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding Gateway Handshake MSG. 2019-09-02 09:08:59 DEBUG (MainThread) [alexapy.alexawebsocket] msg: WSMessage(type=, data=b'MSG 0x00000361 0x27c8a869 f 0x00000001 0xad7ee8e1 0x000000b9 ACK 0x00000003 1.0 0x00000024 01e09e62-f504-476c-85c8-9c97c8da26ed 0x00000064 0x0000016978ff598c 0x0000016cf2bc9104 END FABE', extra='') 2019-09-02 09:08:59 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket MSG. 2019-09-02 09:08:59 DEBUG (MainThread) [alexapy.alexawebsocket] Received b'MSG 0x00000361 0x27c8a869 f 0x00000001 0xad7ee8e1 0x000000b9 ACK 0x00000003 1.0 0x00000024 01e09e62-f504-476c-85c8-9c97c8da26ed 0x00000064 0x0000016978ff598c 0x0000016cf2bc9104 END FABE' 2019-09-02 09:08:59 DEBUG (MainThread) [alexapy.alexawebsocket] Received ACK MSG for Registration. 2019-09-02 09:09:00 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding Gateway Register MSG. 2019-09-02 09:09:00 DEBUG (MainThread) [custom_components.alexa_media] a****n@genem.org: Websocket succesfully connected 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] a****n@genem.org: Found 13 devices, 1 bluetooth 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] Locale en-us found for B************3XV 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] DND False found for B************3XV 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] Locale en-us found for G************R8M 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] DND False found for G************R8M 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] DND False found for e****************************168 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] Locale en-us found for G************QWP 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] DND False found for G************QWP 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] DND False found for 9****************************0b3 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] Locale en-us found for B************18S 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] DND False found for B************18S 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] Locale en-us found for G************JUB 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] DND False found for G************JUB 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] DND False found for 9****************************ef6 2019-09-02 09:09:03 DEBUG (MainThread) [custom_components.alexa_media] a****n@genem.org: Existing: [] New: ['Living Room', 'Family Room', 'Downstairs', 'Reed', 'House', 'RecRoom', 'Bedroom', 'Everywhere']; Filtered out by not being in include: ["Lindsay's Alexa Apps", "Gene's Virtual Device", 'S3', 'This Device', "Reed's Alexa Apps"] or in exclude: [] 2019-09-02 09:09:04 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Family Room 2019-09-02 09:09:04 DEBUG (MainThread) [custom_components.alexa_media.media_player] Family Room: Last_called check: self: G************R8M reported: 2019-09-02 09:09:05 DEBUG (MainThread) [custom_components.alexa_media.alarm_control_panel] a****n@genem.org: Discovered Alexa Guard ea947: AAA_OnGuardSmartHomeBridgeService_adf193d7-47b3-34aa-8a8e-7429049ea947 dda202a2-ef75-4517-9da5-b222999f680c 2019-09-02 09:09:05 DEBUG (MainThread) [custom_components.alexa_media.helpers] Adding [] 2019-09-02 09:09:05 DEBUG (MainThread) [custom_components.alexa_media.alarm_control_panel] a****n@genem.org: Refreshing Alexa Guard ea947 2019-09-02 09:09:05 DEBUG (MainThread) [alexapy.alexaapi] get_guard_state response: {'deviceStates': [{'entity': {'entityId': 'AAA_OnGuardSmartHomeBridgeService_adf193d7-47b3-34aa-8a8e-7429049ea947', 'entityType': ''}, 'capabilityStates': ['{"namespace":"Alexa.SecurityPanelController","name":"armState","value":"ARMED_STAY","timeOfSample":"2019-09-02T16:09:05.132Z","uncertaintyInMilliseconds":0,"deepQuery":true,"timeOfStateChange":""}'], 'error': None}], 'errors': []} 2019-09-02 09:09:05 DEBUG (MainThread) [custom_components.alexa_media.alarm_control_panel] a****n@genem.org: Alarm State: disarmed 2019-09-02 09:09:05 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Downstairs 2019-09-02 09:09:05 DEBUG (MainThread) [custom_components.alexa_media.media_player] Downstairs: Last_called check: self: e****************************168 reported: 2019-09-02 09:09:05 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Reed 2019-09-02 09:09:05 DEBUG (MainThread) [custom_components.alexa_media.media_player] Reed: Last_called check: self: G************QWP reported: 2019-09-02 09:09:06 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing House 2019-09-02 09:09:06 DEBUG (MainThread) [custom_components.alexa_media.media_player] House: Last_called check: self: 9****************************0b3 reported: 2019-09-02 09:09:06 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing RecRoom 2019-09-02 09:09:06 DEBUG (MainThread) [custom_components.alexa_media.media_player] RecRoom: Last_called check: self: B************18S reported: 2019-09-02 09:09:07 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Everywhere 2019-09-02 09:09:07 DEBUG (MainThread) [custom_components.alexa_media.media_player] Everywhere: Last_called check: self: 9****************************ef6 reported: 2019-09-02 09:09:07 DEBUG (MainThread) [custom_components.alexa_media.helpers] Adding [, , , , , , , ] 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Loading switches 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating do not disturb switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found B************3XV dnd switch with status: False 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating shuffle switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found B************3XV shuffle switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating repeat switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found B************3XV repeat switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating do not disturb switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found G************R8M dnd switch with status: False 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating shuffle switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found G************R8M shuffle switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating repeat switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found G************R8M repeat switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating do not disturb switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found e****************************168 dnd switch with status: False 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating shuffle switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found e****************************168 shuffle switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating repeat switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found e****************************168 repeat switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating do not disturb switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found G************QWP dnd switch with status: False 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating shuffle switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found G************QWP shuffle switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating repeat switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found G************QWP repeat switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating do not disturb switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found 9****************************0b3 dnd switch with status: False 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating shuffle switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found 9****************************0b3 shuffle switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating repeat switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found 9****************************0b3 repeat switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating do not disturb switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found B************18S dnd switch with status: False 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating shuffle switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found B************18S shuffle switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating repeat switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found B************18S repeat switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating do not disturb switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found G************JUB dnd switch with status: False 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating shuffle switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found G************JUB shuffle switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating repeat switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found G************JUB repeat switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating do not disturb switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found 9****************************ef6 dnd switch with status: False 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating shuffle switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found 9****************************ef6 shuffle switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] Creating repeat switch for 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.switch] a****n@genem.org: Found 9****************************ef6 repeat switch with status: None 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.helpers] Adding [, , , , , , , , , , , , , , , , , , , , , , , ] 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Family Room 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] Family Room: Last_called check: self: G************R8M reported: G************JUB 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing House 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] House: Last_called check: self: 9****************************0b3 reported: G************JUB 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Everywhere 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] Everywhere: Last_called check: self: 9****************************ef6 reported: G************JUB 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Bedroom 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] Bedroom: Last_called check: self: G************JUB reported: G************JUB 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Reed 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] Reed: Last_called check: self: G************QWP reported: G************JUB 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Downstairs 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] Downstairs: Last_called check: self: e****************************168 reported: G************JUB 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing RecRoom 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] RecRoom: Last_called check: self: B************18S reported: G************JUB 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] a****n@genem.org: Refreshing Living Room 2019-09-02 09:09:30 DEBUG (MainThread) [custom_components.alexa_media.media_player] Living Room: Last_called check: self: B************3XV reported: G************JUB 2019-09-02 09:09:34 DEBUG (MainThread) [custom_components.alexa_media.media_player] Disabling polling for Bedroom 2019-09-02 09:09:34 DEBUG (MainThread) [custom_components.alexa_media.media_player] Disabling polling for House 2019-09-02 09:09:34 DEBUG (MainThread) [custom_components.alexa_media.media_player] Disabling polling for Reed 2019-09-02 09:09:34 DEBUG (MainThread) [custom_components.alexa_media.media_player] Disabling polling for Living Room 2019-09-02 09:09:34 DEBUG (MainThread) [custom_components.alexa_media.media_player] Disabling polling for RecRoom 2019-09-02 09:09:35 DEBUG (MainThread) [custom_components.alexa_media.media_player] Disabling polling for Downstairs 2019-09-02 09:09:35 DEBUG (MainThread) [custom_components.alexa_media.media_player] Disabling polling for Family Room 2019-09-02 09:09:35 DEBUG (MainThread) [custom_components.alexa_media.media_player] Disabling polling for Everywhere