hacs-govee icon indicating copy to clipboard operation
hacs-govee copied to clipboard

Device is duplicated after renaming the Integration and rebooting Home Assistant

Open gmlupatelli opened this issue 3 years ago • 1 comments

Version of the custom_component

0.2.1 image

System Health

version core-2021.9.6
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.6
os_name Linux
os_version 5.10.17-v8
arch aarch64
timezone America/Toronto
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4447
Installed Version 1.15.2
Stage running
Available Repositories 881
Installed Repositories 12
Home Assistant Cloud
logged_in true
subscription_expiration October 9, 2021, 8:00 PM
relayer_connected true
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 6.3
update_channel stable
supervisor_version supervisor-2021.09.0
docker_version 20.10.7
disk_total 58.0 GB
disk_used 8.7 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons File editor (5.3.3), Terminal & SSH (9.1.3), Samba share (9.5.1), Network UPS Tools (0.8.0), Z-Wave JS (0.1.40), Check Home Assistant configuration (3.8.0), Home Assistant Google Drive Backup (0.105.1), ESPHome (2021.8.2), AirCast (3.1.1), Mosquitto broker (6.0.1)
Lovelace
dashboards 1
resources 7
views 4
mode storage
Spotify
api_endpoint_reachable ok

Configuration

govee_learning.yaml

XX:XX:XX:XX:XX:XX:XX:XX:
  set_brightness_max: 100
  get_brightness_max: 100
  before_set_brightness_turn_on: false
  config_offline_is_off: false

Supervisor log after the reboot that duplicates the groove device

21-09-13 18:15:32 INFO (MainThread) [supervisor.backups.manager] Found 5 backup files
21-09-13 18:15:32 INFO (MainThread) [supervisor.backups.manager] Found 5 backup files
21-09-13 18:33:16 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-09-13 19:00:37 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
21-09-13 19:00:37 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-09-13 19:01:12 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-09-13 19:03:02 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-09-13 19:03:14 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
21-09-13 19:03:14 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository
21-09-13 19:03:14 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
21-09-13 19:03:15 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of AdGuard Home
21-09-13 19:03:16 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of ESPHome
21-09-13 19:03:16 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot' is deprecated, 'backup' should be used instead. Please report this to the maintainer of UniFi Controller
21-09-13 19:03:16 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of AdGuard Home
21-09-13 19:03:16 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of ESPHome
21-09-13 19:03:17 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot' is deprecated, 'backup' should be used instead. Please report this to the maintainer of UniFi Controller
21-09-13 19:03:17 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 0 new - 0 remove
21-09-13 19:03:17 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 0 new - 0 remove
21-09-13 19:03:17 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-09-13 19:33:17 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-09-13 20:00:38 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
21-09-13 20:00:38 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
21-09-13 20:01:12 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-09-13 20:01:12 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-09-13 20:01:12 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
21-09-13 20:01:13 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
21-09-13 20:01:13 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
21-09-13 20:01:13 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-09-13 20:01:13 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-09-13 20:01:13 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-09-13 20:01:13 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-13 20:01:13 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-13 20:01:13 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-09-13 20:01:13 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-09-13 20:03:17 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-09-13 20:03:30 INFO (MainThread) [supervisor.host.info] Updating local host information
21-09-13 20:03:30 INFO (MainThread) [supervisor.host.services] Updating service information
21-09-13 20:03:31 INFO (MainThread) [supervisor.host.network] Updating local network information
21-09-13 20:03:33 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-09-13 20:03:33 INFO (MainThread) [supervisor.host.manager] Host information reload completed
21-09-13 20:18:39 INFO (SyncWorker_6) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi4-64-homeassistant
21-09-13 20:18:49 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-09-13 20:18:58 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-13 20:18:58 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-13 20:19:48 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-09-13 20:22:03 INFO (SyncWorker_0) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi4-64-homeassistant
21-09-13 20:22:14 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-09-13 20:22:23 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-13 20:22:23 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-13 20:23:09 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-09-13 20:24:08 INFO (SyncWorker_1) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi4-64-homeassistant
21-09-13 20:24:20 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-09-13 20:24:29 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-13 20:24:29 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-13 20:25:15 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-09-13 20:25:49 INFO (SyncWorker_3) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi4-64-homeassistant
21-09-13 20:26:05 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-09-13 20:26:14 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-13 20:26:14 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-13 20:27:06 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance

Describe the bug

The problem

I just have one Govee device, a TV ambient light. It works flawlessly; however, if after I configuring the govee integration I rename it to Govee, it will duplicate the device and entity.

Steps to replicate the problem

  • Install Govee integration using HACS
  • Add Govee integration to Home Assistant
  • Reboot Home Assistant - So fa nothing happens
  • Rename the integration form govee to Govee (yes, I have OCD and need all integration names starting with uppercase or all my family dies....lol)
  • Reboot Home Assistant
  • Now you have duplicate entities image

!Note: This happens to "any" name you use I tried Bob and Govee Cloud Intregration and the device was duplicated

Debug log

Core Log after the reboot that duplicates the groove device

2021-09-13 20:28:15 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.173 seconds (success: True)
2021-09-13 20:28:25 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:28:25 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:28:25 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 95 in 9.872174978256226 seconds
2021-09-13 20:28:25 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579305.158317, 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)
2021-09-13 20:28:25 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.157 seconds (success: True)
2021-09-13 20:28:35 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:28:35 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:28:35 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 99 in 59.857779026031494 seconds
2021-09-13 20:28:35 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579315.178308, 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)
2021-09-13 20:28:35 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.176 seconds (success: True)
2021-09-13 20:28:45 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:28:45 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:28:45 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 98 in 49.84489893913269 seconds
2021-09-13 20:28:45 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579325.19152, 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)
2021-09-13 20:28:45 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.189 seconds (success: True)
2021-09-13 20:28:55 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:28:55 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:28:55 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 99 in 59.86969304084778 seconds
2021-09-13 20:28:55 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579335.161166, 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)
2021-09-13 20:28:55 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.160 seconds (success: True)
2021-09-13 20:29:05 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:29:05 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:29:05 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 98 in 49.88291001319885 seconds
2021-09-13 20:29:05 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579345.1477, 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)
2021-09-13 20:29:05 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.145 seconds (success: True)
2021-09-13 20:29:15 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:29:15 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:29:15 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 97 in 19.867242097854614 seconds
2021-09-13 20:29:15 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579355.168569, 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)
2021-09-13 20:29:15 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.166 seconds (success: True)
2021-09-13 20:29:25 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:29:25 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:29:25 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 96 in 9.842455863952637 seconds
2021-09-13 20:29:25 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579365.193368, 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)
2021-09-13 20:29:25 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.192 seconds (success: True)
2021-09-13 20:29:35 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:29:35 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:29:35 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 97 in 19.810621976852417 seconds
2021-09-13 20:29:35 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579375.219756, 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)
2021-09-13 20:29:35 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.215 seconds (success: True)
2021-09-13 20:29:45 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:29:45 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:29:45 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 96 in 9.801378965377808 seconds
2021-09-13 20:29:45 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579385.2291, 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)
2021-09-13 20:29:45 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.228 seconds (success: True)
2021-09-13 20:29:55 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:29:55 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:29:55 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 95 in -0.12773609161376953 seconds
2021-09-13 20:29:55 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579395.158723, 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)
2021-09-13 20:29:55 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.158 seconds (success: True)
2021-09-13 20:30:05 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:30:05 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:30:05 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 99 in 59.583818197250366 seconds
2021-09-13 20:30:05 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579405.450259, 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)
2021-09-13 20:30:05 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.448 seconds (success: True)
2021-09-13 20:30:15 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:30:15 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:30:15 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 98 in 49.85759902000427 seconds
2021-09-13 20:30:15 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579415.176585, 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)
2021-09-13 20:30:15 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.175 seconds (success: True)
2021-09-13 20:30:25 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:30:25 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:30:25 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 97 in 39.86404204368591 seconds
2021-09-13 20:30:25 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579425.169308, 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)
2021-09-13 20:30:25 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.168 seconds (success: True)
2021-09-13 20:30:35 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:30:35 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:30:35 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 99 in 59.859013080596924 seconds
2021-09-13 20:30:35 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579435.165063, 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)
2021-09-13 20:30:35 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.163 seconds (success: True)
2021-09-13 20:30:45 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:30:45 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:30:45 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 96 in 19.80396604537964 seconds
2021-09-13 20:30:45 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579445.229431, 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)
2021-09-13 20:30:45 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.227 seconds (success: True)
2021-09-13 20:30:49 WARNING (MainThread) [homeassistant.components.automation.all_hs210_extra_nudge] Integration - HS210 "Extra Nudge" Upstairs Hallway: Already running
2021-09-13 20:30:49 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_kitchen_hallway] Integration - HS210 "Extra Nudge" Kitchen Hallway: Already running
2021-09-13 20:30:49 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_front_door_hallway] Integration - HS210 "Extra Nudge" Front Door Hallway: Already running
2021-09-13 20:30:49 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_basement_hallway] Integration - HS210 "Extra Nudge" Basement Hallway: Already running
2021-09-13 20:30:55 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:30:55 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:30:55 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 95 in 9.857483148574829 seconds
2021-09-13 20:30:55 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579455.176311, 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)
2021-09-13 20:30:55 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.175 seconds (success: True)
2021-09-13 20:31:05 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:31:05 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:31:05 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 94 in -0.1329197883605957 seconds
2021-09-13 20:31:05 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579465.166493, 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)
2021-09-13 20:31:05 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.165 seconds (success: True)
2021-09-13 20:31:15 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:31:15 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:31:15 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 99 in 59.85931205749512 seconds
2021-09-13 20:31:15 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579475.17221, 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)
2021-09-13 20:31:15 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.170 seconds (success: True)
2021-09-13 20:31:25 DEBUG (MainThread) [custom_components.govee.light] _async_update
2021-09-13 20:31:25 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] get_states
2021-09-13 20:31:25 DEBUG (MainThread) [govee_api_laggat.api] Rate limit total: 100, remaining: 98 in 49.85133504867554 seconds
2021-09-13 20:31:25 DEBUG (MainThread) [govee_api_laggat.api] state returned from API: {'data': {'device': 'XX:XX:XX:XX:XX:XX:XX:XX', 'model': 'H6199', 'properties': [{'online': True}, {'powerState': 'off'}, {'brightness': 100}, {'color': {'r': 255, 'b': 156, 'g': 211}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XX:XX:XX:XX:XX:XX:XX:XX', model='H6199', device_name='Living Room TV Ambient', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=False, brightness=254, color=(255, 211, 156), color_temp=0, timestamp=1631579485.180539, 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)
2021-09-13 20:31:25 DEBUG (MainThread) [custom_components.govee.light] Finished fetching govee data in 0.179 seconds (success: True)

gmlupatelli avatar Sep 14 '21 00:09 gmlupatelli

+1

It looks like there's a pull request that supposedly fixes this issue. Who can approve that @LaggAt ?

GitHubGoody avatar Nov 10 '22 12:11 GitHubGoody