rnovacek / homeassistant_cz_energy_spot_prices

Home Assistant integration that provides current Czech electricity spot prices based on OTE.
Apache License 2.0
75 stars 17 forks source link

entities dont show on/off values when creating automation #31

Open Bebeone111 opened 11 months ago

Bebeone111 commented 11 months ago

When using conditions in automation, I dont see on/off value of sensors. I can only see not available/unknown

Snímek obrazovky 2023-07-27 v 23 40 11
kkoouu commented 11 months ago

and what's the actual value ? In last days these values were not working for me and were undefined, I tried reload/restart and integration reinstall. However you can enter on/off value manually in the automation.

Bebeone111 commented 11 months ago

There are more entities, the actual value is off or on. I see it in the main dashboard. Going to try the manual input and reinstall. Restart didnt fix it.

kkoouu commented 11 months ago

But for sure this is not an integration issue of not showing popup values when using automation ...

Bebeone111 commented 11 months ago

Manual input worked. Im a novice in HA, so sorry for maybe stupid question and thanks for help!

rnovacek commented 9 months ago

The problem is that the sensor is called sensor.spot_electricity_is_cheapest_X_hours_block but HA would need the entity to be called binary_sensor.X to add the On/Off values there . This would be a breaking change and I'm not quite sure if it is worth it.

rpajik commented 7 months ago

I believe, that it help a lot to fix this issue. I understand, that it is breaking changes, so what about to duplicate sensors for some time? It's up to you, how long the period will be.