Giter Club home page Giter Club logo

Comments (6)

home-assistant avatar home-assistant commented on August 16, 2024

manual documentation
manual source

from core.

TiHiNi avatar TiHiNi commented on August 16, 2024

Never used it be my self yet. But do you know this post?

https://community.home-assistant.io/t/manual-alarm-panel-using-code-template/116146/2

from core.

roiksv avatar roiksv commented on August 16, 2024

Never used it be my self yet. But do you know this post?

https://community.home-assistant.io/t/manual-alarm-panel-using-code-template/116146/2

The problem is not in the panel (although it is not clear why the panel should be displayed when there is no need to enter the code), but that the template does not work when called by the service. I still have a test HAOS 2024.3.3, in which this template works both from services and from the panel (when switching from the panel, there is a code request when you do not need to enter it, but to switch it is enough to leave it empty)

from core.

serich159 avatar serich159 commented on August 16, 2024

I was having the same issue after updating from 2024.5.x to 2024.6.3 yesterday. Have always had no code defined in the configuration and was working until that update.

Error while executing automation automation.both_phones_charging_arm_goodnight: Arming requires a code but none was given for alarm_control_panel.home_alarm

Looking through states, shows that the code_format is listed as text, don't believe it shows that before.

Checking my yaml it listed as code_template:''. Removed that line, and added code_arm_required:false, did a restart and back to working, and removed the code section from the frontend panel. (additionally the state shows code_format as null now).

Am guessing something changed that the blank template was no longer considered 'None', thus requiring the code. Don't have the time to dig deeper, but hope that helps!

from core.

roiksv avatar roiksv commented on August 16, 2024

I was having the same issue after updating from 2024.5.x to 2024.6.3 yesterday. Have always had no code defined in the configuration and was working until that update.

Error while executing automation automation.both_phones_charging_arm_goodnight: Arming requires a code but none was given for alarm_control_panel.home_alarm

Looking through states, shows that the code_format is listed as text, don't believe it shows that before.

Checking my yaml it listed as code_template:''. Removed that line, and added code_arm_required:false, did a restart and back to working, and removed the code section from the frontend panel. (additionally the state shows code_format as null now).

Am guessing something changed that the blank template was no longer considered 'None', thus requiring the code. Don't have the time to dig deeper, but hope that helps!

You have completely stopped using code. I'm using the code as described above. See the documentation for code_template (an empty string disables checking the code). What's the point of this parameter if it doesn't work...

from core.

serich159 avatar serich159 commented on August 16, 2024

Totally misread your original, but you are correct, I'm not using any codes currently (no kiosk, so no reason for that), or before.

Am guessing these may be related, since both the empty string and a template code are both failing after the same update and refactoring.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.