I have this template cover for my blinds but one of the buttons is always inactive, depending on what button I used last. This means I can’t use it to operate the blind half way down and then down again:
I think I need to use set_cover_position, right? but how do I do that?
Configuration invalid
Invalid config for [cover.template]: [set_cover_postion] is an invalid option for [cover.template]. Check: cover.template->covers->lroom_blind_cover->set_cover_postion. (See ?, line ?).
How do you set the position to e.g. 50% when you are setting it without the template cover? Do you have a sensor or something that shows the current position of the blinds?
oh, ok. So I also need a sensor.
I don’t really need to know the actual position of the blinds cause the hardware of the switch prevents it from going up once fully up or down when fully down. So I only really need to pretend the blind is at 50%.
Having said that, I don’t think this switch has a sensor like that. This is what I have on that switch:
Like I mentioned, all good. I don’t really need the slider. I just don’t know how to make both arrows active as opposed to only one at a time as seen above.
That arrow will only appear when you are at the opposite state. It has nothing to do with position. That’s just the open button. Notice how your state is ‘open’? When you click the down arrow, it will close. Then your open button will be available.
Lastly, if you really want to just fake it out (may not work), use a position template of 50. But, there’s 3 caveats to this:
Your cover will never produce the correct state. Ever. It will always be ‘open’.
Your slider will not work.
If you interface this with Alexa or Google Home, both will complain because the states you ask it to move to will never be met. Example: Alexa - open blinds, response - It doesn’t look like blinds are responding, please blah blah blah blah. But your blinds will open.
Mine do “out of the box”, i can click arrow down, then stop when i want. And later continue to click down if i want to.
For some reason it seems like your “current_Position” (0-100) is not registered in your HA.
I have Ikea blinds with latest firmware, i do not know what brand and gateway you are using.
if you look at his template, he doesn’t have a value_template or position_template so the cover has a default state of always open and doesn’t know how/when to provide the up and down arrows. This is 100% expected.
Template entities cannot function without knowing the state of what it’s controlling. Period.
Thank you so much @petro and everyone!
The position template worked like a charm and now I can close the blinds a bit and close them again.
I know this was just workaround with some big caveats and not really the proper way to do it but I think this will work for my basic usage.
If I need the slider or the actual position I might have to retrace all my steps back to the initial tasmota configuration as I might have done something wrong there.