JohNan / homeassistant-wellbeing

Get the status from your Electrolux devices connected to Wellbeing
MIT License
71 stars 17 forks source link

Support other devices #80

Open Marxxu3ru opened 4 months ago

Marxxu3ru commented 4 months ago

Can it support ULTIMATEHOME 500 UV? Thanks

https://www.electrolux.com.tw/appliances/air-purifiers/ep53-48uga/#/

JohNan commented 4 months ago

I need the json payload for that device to be able to know if it can be supported. Try the integration and enable debug logs and post the payload.

Marxxu3ru commented 4 months ago

我需要該裝置的json有效載荷,以便能夠知道它是否可以支援。 嘗試整合並啟用除錯日誌並釋出有效負載。

How do I provide it? I am a novice

Marxxu3ru commented 4 months ago

I caught the physical device but can't use the buttons

IMG_0282 IMG_0281 IMG_0280

jorgenseike commented 3 months ago

any news here?

Marxxu3ru commented 3 months ago

這裡有什麼消息嗎?

Where do I need to get the information?

Marxxu3ru commented 3 months ago

這裡有什麼消息嗎?

記錄器: homeassistant.components.switch 來源: helpers/entity_platform.py:350 整合: 開關 (相關文件, 問題) 首次發生: 上午1:10:39 (1 事件) 上次登入: 上午1:10:39

Error while setting up wellbeing platform for switch Traceback (most recent call last): File "/config/custom_components/wellbeing/switch.py", line 15, in async_setup_entry WellbeingSwitch(coordinator, entry, pnc_id, "Ionizer"), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/wellbeing/switch.py", line 26, in init self._is_on = self.get_entity.state ^^^^^^^^^^^^^^^ File "/config/custom_components/wellbeing/entity.py", line 28, in get_entity return self.get_appliance.get_entity(self.entity_type, self.entity_attr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/wellbeing/api.py", line 231, in get_entity return next( ^^^^^ StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform await asyncio.shield(awaitable) RuntimeError: coroutine raised StopIteration

記錄器: homeassistant.components.fan 來源: helpers/entity_platform.py:576 整合: 風扇 (相關文件, 問題) 首次發生: 上午1:10:39 (1 事件) 上次登入: 上午1:10:39

Error adding entity fan.wellbeing_kong_qi_qing_jing_ji_fanspeed for domain fan with platform wellbeing Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 576, in _async_add_entities await coro File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 865, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1328, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 992, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1113, in _async_write_ha_state state, attr, capabilities, shadowed_attr = self.async_calculate_state() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1052, in async_calculate_state attr.update(self.state_attributes or {}) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/fan/init.py", line 427, in state_attributes data[ATTR_PERCENTAGE_STEP] = self.percentage_step ^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/fan/init.py", line 384, in percentage_step return 100 / self.speed_count


ZeroDivisionError: division by zero