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

Поддержка SCD4x датчика CO2 #171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anpavlov
Copy link

@anpavlov anpavlov commented Feb 8, 2024

closes #114
closes #131
closes #146

@xenus206
Copy link

@andvikt добавьте плиз в релиз

@stolmachev
Copy link

2024-12-15 12:52:10.278 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry mega for mega
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 677, in state
numerical_value = float(value) # type:ignore[arg-type]
ValueError: could not convert string to float: 'CO2:422/temp:23.44/hum:26.72'

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

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mega/init.py", line 220, in async_setup_entry
await hub.updater.async_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 355, in async_refresh
await self._async_refresh(log_failures=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 478, in _async_refresh
self.async_update_listeners()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^

@stolmachev
Copy link

выдает ошибку при добавлении

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SCD4x SCD41 scd41
3 participants