davidrapan / ha-solarman

⚡ Solarman Stick Logger integration for 🏠 Home Assistant
MIT License
115 stars 25 forks source link

bugfix: Fix state_class for enums and strings #99

Closed frsantos closed 3 months ago

frsantos commented 3 months ago

@davidrapan What is the difference between options and lookup?

davidrapan commented 3 months ago

lookup is "older" property. options it's how it is called within HA ecosystem. When is options property missing it's filled using lookup table and at the same time device_class (or class) is set to enum.

Those changes are not yet finalized.