Bouni / luxtronik

Luxtronik integration for Home Assistant
MIT License
82 stars 13 forks source link

Automation problem #15

Closed Bouni closed 3 years ago

Bouni commented 3 years ago

I can also change these values with the Alpha app. But these changes are not show in the corresponding input_number. I have therefor this code:

if value on Luxtronik changes: set value on slider

automation:

But I get the error: ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: Entity ID sensor.luxtronik.ID_Einst_WK_akt is an invalid entity id for dictionary value @ data['entity_id']. Got None. (See ....configuration.yaml, line 21).

What am I doing wrong??

Originally posted by @Cees-van-Beek in https://github.com/Bouni/luxtronik/issues/5#issuecomment-771985259

Bouni commented 3 years ago

Please do not hijack other issues.

Can you verify that sensor.luxtronik.ID_Einst_WK_akt is a valid entity id using the developer tools of HA?

corneel27 commented 3 years ago

Sorry for the post in the wrong issue.

You are fully right with your question: it should be "luxtronik.ID_Einst_WK_akt" without "sensor". The complete and correct yaml-code for this automation is: `

if value changes on the luxtronik input_number is adhusted

if input_number is changed, the new value is sent to luxtronic

Bouni commented 3 years ago

Ok, happy that you found the cause of the problem!