gazoodle / gecko-home-assistant

Home Assistant integration for spas equipped with Gecko Alliance in.touch2 modules
MIT License
69 stars 24 forks source link

Missing button, fan & sensor entities on 0.1.0 #46

Closed brewston closed 2 years ago

brewston commented 2 years ago

Version of the custom_component

0.1.0

Configuration

HA core-2022.3.4 running on Debian

Describe the bug

I just upgraded and got the following alert :

Missing entities :

The following integrations and platforms could not be set up:

gecko.button
gecko.fan
gecko.sensor

My pump and Hot Tub: Smart Winter Mode: Risk entities are both now showing 'Unavailable' (Not sure what uses the button)

Debug log


-------------------------------------------------------------------
Gecko
Version: 0.1.0
Gecko Lib: 0.4.0
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/gazoodle/gecko-home-assistant/issues
-------------------------------------------------------------------

2022-03-15 17:01:05 DEBUG (MainThread) [custom_components.gecko] Setup entry for UUID 6102cecf-128c-4efa-a137-24fe470a14ee, ID SPA04:91:62:d3:66:b8, address None (None)
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.SPA_MAN_ENTER, state GeckoSpaState.IDLE
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.LOCATING_STARTED, state GeckoSpaState.LOCATING_SPAS
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.LOCATING_DISCOVERED_SPA, state GeckoSpaState.LOCATING_SPAS
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.LOCATING_FINISHED, state GeckoSpaState.IDLE
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CLIENT_HAS_STATUS_SENSOR, state GeckoSpaState.IDLE
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CLIENT_HAS_RECONNECT_BUTTON, state GeckoSpaState.CONNECTING
2022-03-15 17:01:06 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_STARTED, state GeckoSpaState.CONNECTING
2022-03-15 17:01:07 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.RUNNING_PING_RECEIVED, state GeckoSpaState.CONNECTING
2022-03-15 17:01:08 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_GOT_FIRMWARE_VERSION, state GeckoSpaState.CONNECTING
2022-03-15 17:01:08 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CLIENT_HAS_PING_SENSOR, state GeckoSpaState.CONNECTING
2022-03-15 17:01:08 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_GOT_CHANNEL, state GeckoSpaState.CONNECTING
2022-03-15 17:01:09 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_GOT_CONFIG_FILES, state GeckoSpaState.CONNECTING
2022-03-15 17:01:09 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_INITIAL_DATA_BLOCK_REQUEST, state GeckoSpaState.CONNECTING
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_SPA_COMPLETE, state GeckoSpaState.SPA_READY
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CLIENT_FACADE_IS_READY, state GeckoSpaState.CONNECTED
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.CONNECTION_FINISHED, state GeckoSpaState.CONNECTED
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Load platforms ['binary_sensor', 'button', 'fan', 'sensor', 'switch', 'climate', 'light']
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Circulating Pump/SPA049162d366b8-CIRCULATING PUMP
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Ozone/SPA049162d366b8-OZONE
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Smart Winter Mode:Active/SPA049162d366b8-SMART WINTER MODE:ACTIVE
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Filter Status:Clean/SPA049162d366b8-FILTER STATUS:CLEAN
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Filter Status:Purge/SPA049162d366b8-FILTER STATUS:PURGE
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Economy Mode/SPA049162d366b8-EconActive
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Heater/SPA049162d366b8-HEAT
2022-03-15 17:01:12 INFO (MainThread) [custom_components.gecko.entity] Setup entity Lights/SPA049162d366b8-LI
2022-03-15 17:01:12 DEBUG (MainThread) [custom_components.gecko.spa_manager] Event: GeckoSpaEvent.RUNNING_PING_RECEIVED, state GeckoSpaState.CONNECTED
gazoodle commented 2 years ago

Ought to be fixed in v0.1.1, it was some 3.10 Python code that crept in from the development environment