pdw-mb / tsmart_ha

Support for Tesla T-Smart thermostats in Home Assistant
11 stars 4 forks source link

Errors following update to HomeAssistant 2023.8 #7

Closed mamdavem closed 1 year ago

mamdavem commented 1 year ago

Errors following update to HomeAssistant 2023.8 I'm getting the errors

Logger: homeassistant.components.binary_sensor Source: helpers/entity_platform.py:619 Integration: Binary sensor (documentation, issues) First occurred: 11:02:01 AM (2 occurrences) Last logged: 11:02:01 AM

Error adding entities for domain binary_sensor with platform t_smart Error while setting up t_smart platform for binary_sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity device = dev_reg.async_get(self.hass).async_get_or_create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'name_by_user'

and

Logger: homeassistant.components.climate Source: helpers/entity_platform.py:619 Integration: Climate (documentation, issues) First occurred: 11:02:01 AM (2 occurrences) Last logged: 11:02:01 AM

Error adding entities for domain climate with platform t_smart Error while setting up t_smart platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity device = dev_reg.async_get(self.hass).async_get_or_create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'name_by_user'

pdw-mb commented 1 year ago

Duplicate of #5 fixed in 0.3.0