Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extra_data_template no longer working for lock devices #146

Open
coreyo opened this issue Jul 27, 2018 · 1 comment
Open

extra_data_template no longer working for lock devices #146

coreyo opened this issue Jul 27, 2018 · 1 comment

Comments

@coreyo
Copy link

coreyo commented Jul 27, 2018

I just upgraded to
homeassistant-0.74.2
Custom UI "20180716"

The following entry in customize.yaml was working until the most recent upgrades:

lock.front_door_deadbolt_locked:
  custom_ui_state_card: state-card-custom-ui
  extra_data_template:
    - "Battery: ${entities['zwave.front_door_deadbolt'].attributes.battery_level}%"
    - "if (attributes.lock_status) return 'Lock Status: ' + attributes.lock_status; else return null;"
    - "if (attributes.notification) return 'Last Opened: ' + attributes.notification; else return null;"
@andrey-git
Copy link
Owner

Previously lock used the toggle card. Starting from HA 0.74 it uses its own card which is not supported (yet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants