-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I'm getting the below error with ver 1.3. The fan entity is created but unavailable.
Logger: homeassistant.components.fan
Source: custom_components/ecovent/fan.py:1123
Integration: Fan (documentation, issues)
First occurred: 4 January 2023 at 22:46:42 (2 occurrences)
Last logged: 4 January 2023 at 22:46:43
Error adding entities for domain fan with platform ecovent
Error while setting up ecovent platform for fan
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 692, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 789, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 545, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 586, in _async_write_ha_state
attr.update(self.extra_state_attributes or {})
File "/config/custom_components/ecovent/fan.py", line 400, in extra_state_attributes
data[ATTR_UNIT_TYPE] = self.unit_type
File "/config/custom_components/ecovent/fan.py", line 1123, in unit_type
return self._unit_type
AttributeError: 'EcoVentFan' object has no attribute '_unit_type'
This is my config
fan:
- platform: ecovent
name: Master Bedroom dMVHR
ip_address: " 192.168.0.22"
device_id: "002E002642435713"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels