Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.39k stars 253 forks source link

Shutter dosen.t work #1945

Closed edwardtfn closed 6 months ago

edwardtfn commented 6 months ago

Hello

I successfully updated my NS panel from 4.1.1 to 4.3. Unfortunately now I have the following problem: my shutter control no longer works. As soon as I press the Hardbutton and trigger the scene, the Scene will immediately be disabled in HA I have the same problem when I run this as a soft button With version 4.1.1 everything worked. Do you have any idea why an active scene is set to deactivated in HA?

Thank you in advance for the help.

HA Version Core 24.3.1 OS 12.1 ESP Home 2024.2.2

_Originally posted by @Maxym1979 in https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1942_

edwardtfn commented 6 months ago

@Maxym1979, I will need a bit more info here.

How is the entity assigned to the hardware button? Is that a scene.xxxxx or an automation? Could you please go to Developer Tools, tab States and share state and Attributes of this entity?

Maxym1979 commented 6 months ago

Hi, the entity is an automation.

I hope this is the right one and helps

IMG_0074

 

edwardtfn commented 6 months ago

Ok, so in the blueprint, what is set for "System settings - Button action for automation entities"?

Maxym1979 commented 6 months ago

Hm system setting,s…do you mean this?

IMG_0075

edwardtfn commented 6 months ago

Go all the way down... It is one of the last inputs.

Maxym1979 commented 6 months ago

Found it ;-)

IMG_4528

I think it must be changed to „Trigger“ !? I will test it this evening.

Maxym1979 commented 6 months ago

Hi, thanks a lot for help. Now it works as it should. Maybe it would be possible to integrate these settings into the Hardware Button menu. In my opinion, it would be possible to rule out this source of error or provide a hint.

Thanks again.

edwardtfn commented 6 months ago

We have severe limitation of memory in the ESPHome side, so it’s impossible to have all the controllers there. And a big part of the logic is in the blueprint side, include that one.

But we definitely lack better documentation around all those things.