You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
platform: meteorologic_metrics
name: "Meteorologic Metrics" # optional, use if you want to use mulitple instances
temp: sensor.lumi_weather_outside_temperature_01 # celsius
hum: sensor.lumi_weather_outside_humidity_01 # celsius
dew: sensor.acasa_dew_point # required if you want WBT estimated with dewpoint depression
pressure: sensor.lumi_weather_outside_pressure_01
getting no attributes but just "Unknown"
from the logs
`Logger: homeassistant
Source: custom_components/meteorologic_metrics/helpers.py:9
Integration: meteorologic_metrics (documentation)
First occurred: 08:51:39 (25 occurrences)
Last logged: 09:03:39
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 734, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 492, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in _async_write_ha_state
extra_state_attributes = self.extra_state_attributes
File "/config/custom_components/meteorologic_metrics/sensor.py", line 83, in extra_state_attributes
"SI wet bulb temp C": round(toC(S[5]), 2),
File "/config/custom_components/meteorologic_metrics/helpers.py", line 9, in toC
return celsius - KELVIN_CONVERSION
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'`
The text was updated successfully, but these errors were encountered:
This is my config,
sensor:
name: "Meteorologic Metrics" # optional, use if you want to use mulitple instances
temp: sensor.lumi_weather_outside_temperature_01 # celsius
hum: sensor.lumi_weather_outside_humidity_01 # celsius
dew: sensor.acasa_dew_point # required if you want WBT estimated with dewpoint depression
pressure: sensor.lumi_weather_outside_pressure_01
getting no attributes but just "Unknown"
from the logs
`Logger: homeassistant
Source: custom_components/meteorologic_metrics/helpers.py:9
Integration: meteorologic_metrics (documentation)
First occurred: 08:51:39 (25 occurrences)
Last logged: 09:03:39
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 734, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 492, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in _async_write_ha_state
extra_state_attributes = self.extra_state_attributes
File "/config/custom_components/meteorologic_metrics/sensor.py", line 83, in extra_state_attributes
"SI wet bulb temp C": round(toC(S[5]), 2),
File "/config/custom_components/meteorologic_metrics/helpers.py", line 9, in toC
return celsius - KELVIN_CONVERSION
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'`
The text was updated successfully, but these errors were encountered: