sam43434 / remootio

remootio
18 stars 29 forks source link

Broken again after 07-09-2023 update of Home assistant! #17

Open alpha520098 opened 1 year ago

lbreggi commented 1 year ago

For me too

bayview252 commented 12 months ago

Me also

2023-09-10 15:47:33.883 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Establishing websocket connection to the device... 2023-09-10 15:47:34.009 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Websocket connection to the device has been established successfully. 2023-09-10 15:47:34.009 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Authenticating this client by the device... 2023-09-10 15:47:34.009 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Sending frame... 2023-09-10 15:47:34.199 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Encrypting and sending ActionRequestFrame... ActionType [ActionType.QUERY] 2023-09-10 15:47:34.199 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Sending frame... 2023-09-10 15:47:34.299 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] The device has taken an action but the relay wasn't triggered. ActionId [1057186977] ActionType [ActionType.QUERY] State [State.CLOSED] RelayTriggered [False] 2023-09-10 15:47:34.299 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Last known state of the device has been changed. OldState [State.UNKNOWN] NewState [State.CLOSED] 2023-09-10 15:47:34.299 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Saying hello to the device... 2023-09-10 15:47:34.299 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Sending frame... 2023-09-10 15:47:34.800 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Sending frame... 2023-09-10 15:47:35.300 INFO (MainThread) [homeassistant.components.cover] Setting up cover.remootio 2023-09-10 15:47:35.301 ERROR (MainThread) [homeassistant.components.cover] remootio: Not adding entity with invalid device info: Invalid device info {'manufacturer': 'Assemblabs Ltd', 'name': 'Remootio Device (Host: xx.xx.xx.xx, S/N: "MySerialNo")'} for 'remootio' config entry: device info must include at least one of identifiers or connections

alpha520098 commented 12 months ago

Me also

2023-09-10 15:47:33.883 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Establishing websocket connection to the device...

2023-09-10 15:47:34.009 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Websocket connection to the device has been established successfully.

2023-09-10 15:47:34.009 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Authenticating this client by the device...

2023-09-10 15:47:34.009 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Sending frame...

2023-09-10 15:47:34.199 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Encrypting and sending ActionRequestFrame... ActionType [ActionType.QUERY]

2023-09-10 15:47:34.199 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Sending frame...

2023-09-10 15:47:34.299 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] The device has taken an action but the relay wasn't triggered. ActionId [1057186977] ActionType [ActionType.QUERY] State [State.CLOSED] RelayTriggered [False]

2023-09-10 15:47:34.299 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Last known state of the device has been changed. OldState [State.UNKNOWN] NewState [State.CLOSED]

2023-09-10 15:47:34.299 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Saying hello to the device...

2023-09-10 15:47:34.299 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Sending frame...

2023-09-10 15:47:34.800 INFO (MainThread) [custom_components.remootio.aioremootio.remootioclient] Sending frame...

2023-09-10 15:47:35.300 INFO (MainThread) [homeassistant.components.cover] Setting up cover.remootio

2023-09-10 15:47:35.301 ERROR (MainThread) [homeassistant.components.cover] remootio: Not adding entity with invalid device info: Invalid device info {'manufacturer': 'Assemblabs Ltd', 'name': 'Remootio Device (Host: xx.xx.xx.xx, S/N: "MySerialNo")'} for 'remootio' config entry: device info must include at least one of identifiers or connections

There's a work around which works

bayview252 commented 12 months ago

There's a work around which works

Ah, Found. Thanks for that. See https://github.com/sam43434/remootio/issues/12#issuecomment-1712426072 . Modifying cover.py fixed for me.

Whizzykid commented 11 months ago

Hi, I know we have a work around to help fix, but is there any way we can have this permanently fixed? Thanks