LaggAt / hacs-govee

A HACS repository for Govee light integration
MIT License
270 stars 62 forks source link

Unavailable but not api issue #95

Open viciovb opened 2 years ago

viciovb commented 2 years ago

Version of the custom_component

0.22

Add your logs here.

2022-10-24 08:24:10.675 WARNING (MainThread) [custom_components.govee] API is back online.

Describe the bug

I'm not sure if it's just coincidental but since I updated Home Assistant to 2022.10.5, my Govoo Led strip has been unavailable. I don't have any API error but I tried anyway to disable the integration for 24h, request a new API and put the limit to 120 but it didn't work

abonforti commented 2 years ago

+1 here, adding some logs:

2022-11-17 16:58:20.976 DEBUG (MainThread) [custom_components.govee.light] Setting up Govee lights 2022-11-17 16:58:20.976 DEBUG (MainThread) [custom_components.govee.light] _async_update 2022-11-17 16:58:20.976 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states 2022-11-17 16:58:21.233 DEBUG (MainThread) [govee_api_laggat.api] unknown state property '{'colorTem': 3472}' 2022-11-17 16:58:21.234 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': '54:59:D9:31:30:30:49:1E', 'model': 'H6054', 'properties': [{'online': 'false'}, {'powerState': 'off'}, {'brightness': 50}, {'colorTemInKelvin': 3472}, {'colorTem': 3472}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='54:59:D9:31:30:30:49:1E', model='H6054', device_name='Govee camera', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=False, power_state=False, brightness=127, color=(0, 0, 0), color_temp=3472, timestamp=1668700701.234242, source=<GoveeSource.API: 'api'>, error=None, lock_set_until=0, lock_get_until=0, learned_set_brightness_max=100, learned_get_brightness_max=100, before_set_brightness_turn_on=False, config_offline_is_off=False) 2022-11-17 16:58:21.234 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.258 seconds (success: True)

randysaz928 commented 1 year ago

might be https://github.com/LaggAt/hacs-govee/issues/94