sh00t2kill / linktap_local_http_component

A Custom Component that uses the linktap local HTTP API
26 stars 3 forks source link

Switch and number entities not matching #44

Closed coolhansen closed 4 months ago

coolhansen commented 4 months ago

I tried to change the standard duration for watering for different TapLinker. All the devices I changed to less than 15 min are working well, all the devices I changed to more than 15 min are stopping nethertheless after 15 min.

sh00t2kill commented 4 months ago

Odd. I assume you mean by adjusting the number entities?

The ones that stop at 15, do they also work if you set them to less than 15?

Each switch entity has an attribute called Default Time. Is this set to true?

There is also a watering duration attribute. Does this match the value set in your number entity? Does the duration entity attribute match the entity id of the created number?

It does some name matching to link the number with the switch, maybe that isn't working.

coolhansen commented 4 months ago

Yes, I mean the number entities. No, the ones that stop at 15, do not work if I set them to less than 15. The attribute Default Time ist set on true for the not working and false fore the working. May I must change this? Where?

This works:

Bildschirmfoto 2024-04-15 um 16 53 52

This works not:

Bildschirmfoto 2024-04-15 um 16 54 58
sh00t2kill commented 4 months ago

What's the entity_id of the number entity? I think it's due to the / in the name. Should be an easy fix, just need to confirm what the entity_id of the number is to make sure i fix it properly.

coolhansen commented 4 months ago

number.linktap_08_paul_str_hint_perl_watering_duration Is the id

sh00t2kill commented 4 months ago

Thanks! The issue was as i expected. It should be fixed in v0.5.4