Hi,
after updating from 0.81 to 0.83, the “luftdaten” sensor changed, requiring to update existing configurations. However, there are no instructions how to do so.
My previous configuration was (sensor id hidden):
sensor:
- platform: luftdaten
sensorid: 1xxxx
name: luftdaten_partikel
show_on_map: true
monitored_conditions:
- P1
- P2
- platform: luftdaten
sensorid: 1xxyy
name: luftdaten_wetter
monitored_conditions:
- temperature
- humidity
New configuration should be (according to docs: https://www.home-assistant.io/components/luftdaten/):
luftdaten:
sensor_id: 1xxxx
show_on_map: true
sensors:
monitored_conditions:
- P1
- P2
Unfortunately there are several problems with that:
-
unable to configure multiple sensor id’s. This is required as the measuring device has different sensor id’s for particulate matter on one hand, and temperature/humidity on the other hand
-
optional configuration variable “name” does not work:
2018-11-30 20:19:05 ERROR (MainThread) [homeassistant.config] Invalid config for [luftdaten]: [name] is an invalid option for [luftdaten]. Check: luftdaten->luftdaten->sensors->name. (See /home/homeassistant/.homeassistant/configuration.yaml, line 141). Please check the docs at https://home-assistant.io/components/luftdaten/
-
looks like the historic sensor data is lost after migration to the new luftdaten component
-
component creates duplicate entity ids, see issue: https://github.com/home-assistant/home-assistant/issues/18838
Has someone successfully migrated configuration (and historic data) to new component?