I have helper entities (Combine the state of several sensors type) which gives me an average temperature and humidity of my whole house. However, it seems the helper entity does not take on the device_class of the devices is it combining, so these helper entities are filtered out and not shown in the selectors for this card.
|
if (hass_devices[k].attributes.device_class === 'temperature') { |
|
if (hass_devices[k].attributes.device_class === 'humidity') { |
I have helper entities (
Combine the state of several sensorstype) which gives me an average temperature and humidity of my whole house. However, it seems the helper entity does not take on thedevice_classof the devices is it combining, so these helper entities are filtered out and not shown in the selectors for this card.comfortable-environment-card/src/editor.ts
Line 73 in b8bad20
comfortable-environment-card/src/editor.ts
Line 79 in b8bad20