Giter Club home page Giter Club logo

Comments (1)

CCOSTAN avatar CCOSTAN commented on May 22, 2024
     #Great Template Sensor Example
- platform: template
  sensors:
    front_door_lock_alarm_state:
      value_template: >
        '{{
          {
            '21': 'Secured using Key or inside thumb-turn',
            '22': 'Un-Secured using Key or inside thumb-turn',
            '26': 'Auto Secured – Bolt Jammed',
            '27': 'Auto Secured – Successful',
            '17': 'Secured at Keypad – Bolt Jammed',
            '18': 'Secured at Keypad – Successful',
            '19': 'Un-Secured by User at Keypad',
            '23': 'Secured by Controller – Bolt Jammed',
            '24': 'Secured by Controller – Successful',
            '25': 'Un-Secured by Controller – Successful',
            '112': 'New User Code added to the lock',
            '32': 'All User Codes deleted from lock',
            '161': 'Failed User Code attempt at Keypad',
            '162': 'Attempted access by user outside of schedule',
            '167': 'Low battery level',
            '168': 'Critical battery level',
            '169': 'Battery level too low to operate lock'
          }[states('sensor.kwikset_touchpad_electronic_deadbolt_alarm_type_26_0')]
        }}'
      friendly_name: 'Deadbolt Status:'

from home-assistantconfig.

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.