Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

News errors with HA 2022.4.0 #505

Closed
Mick51 opened this issue Apr 7, 2022 · 6 comments
Closed

News errors with HA 2022.4.0 #505

Mick51 opened this issue Apr 7, 2022 · 6 comments
Labels
duplicate This issue or pull request already exists

Comments

@Mick51
Copy link

Mick51 commented Apr 7, 2022

Logger: homeassistant.setup
Source: setup.py:298
First occurred: 00:11:30 (1 occurrences)
Last logged: 00:11:30

Unable to prepare setup for platform xiaomi_miot_raw.fan: Platform not found (cannot import name 'ATTR_SPEED' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/init.py)).

Logger: homeassistant.components.sensor
Source: helpers/entity_registry.py:383
Integration: Capteur (documentation, issues)
First occurred: 00:11:51 (1 occurrences)
Last logged: 00:11:51

Error adding entities for domain sensor with platform xiaomi_miot
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in _async_add_entity
entry = entity_registry.async_get_or_create(
File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 383, in async_get_or_create
raise ValueError("entity_category must be a valid EntityCategory instance")
ValueError: entity_category must be a valid EntityCategory instance

Cette erreur provient d'une intégration personnalisée

Logger: custom_components.xiaomi_miot_raw.deps.xiaomi_cloud_new
Source: custom_components/xiaomi_miot_raw/deps/xiaomi_cloud_new.py:181
Integration: Xiaomi MIoT (documentation, issues)
First occurred: 00:11:31 (1 occurrences)
Last logged: 00:11:31

Timeout while loading MiCloud device list

@Mick51 Mick51 changed the title New error with HA 2022.4.0 News errors with HA 2022.4.0 Apr 7, 2022
@al-one al-one added invalid This doesn't seem right duplicate This issue or pull request already exists labels Apr 8, 2022
@al-one

This comment was marked as outdated.

@al-one al-one removed the invalid This doesn't seem right label Apr 8, 2022
@al-one
Copy link
Owner

al-one commented Apr 8, 2022

ValueError: entity_category must be a valid EntityCategory instance

@Krzysztonek
Copy link

Hi,
Same issues here:

image

Logger: homeassistant.setup
Source: setup.py:298
First occurred: 11:46:58 (6 occurrences)
Last logged: 11:46:58

Unable to prepare setup for platform xiaomi_miot.fan: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)). Unable to prepare setup for platform xiaomi_miot.climate: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)). Unable to prepare setup for platform xiaomi_miot.cover: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)). Unable to prepare setup for platform xiaomi_miot.humidifier: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)). Unable to prepare setup for platform xiaomi_miot.device_tracker: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)).

@ibl129
Copy link

ibl129 commented Apr 9, 2022

The same over here. Integration is loaded as it shows in the integration overview nevertheless it does not load any entity it finds by configuring the integration.

@danielsitnik
Copy link

Same here.. just upgraded to the master branch and have the same errors as @Krzysztonek describe above.

I'm using Home Assistant 2022.4.1.

Logger: homeassistant.setup
Source: setup.py:298
First occurred: April 8, 2022, 23:17:35 (6 occurrences)
Last logged: April 8, 2022, 23:17:35

Unable to prepare setup for platform xiaomi_miot.device_tracker: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)).
Unable to prepare setup for platform xiaomi_miot.fan: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)).
Unable to prepare setup for platform xiaomi_miot.cover: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)).
Unable to prepare setup for platform xiaomi_miot.climate: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)).
Unable to prepare setup for platform xiaomi_miot.humidifier: Platform not found (cannot import name 'SPEED_OFF' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/__init__.py)).

@al-one
Copy link
Owner

al-one commented Apr 10, 2022

Fixed in v0.5.6.

@al-one al-one closed this as completed Apr 10, 2022
Repository owner locked as resolved and limited conversation to collaborators Apr 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants