We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
including general readme things and cool tips like the one from @xbmcnut below
script: set_kobe_inside: alias: 'Set Kobe Inside' sequence: - service: sureha.set_pet_location data: pet_id: '123456' #Kobe's Code where: Inside
And the code for button shown above. Icon changes from green to red when pet goes outside.
entity: binary_sensor.pet_kobe icon: mdi:cat layout: icon_name_state show_name: false show_state: true styles: icon: - color: > [[[ if (states['binary_sensor.pet_kobe'].state === 'on') return "green"; return "red"; ]]] tap_action: action: more-info hold_action: action: call-service service: script.set_kobe_inside type: custom:button-card
Originally posted by @xbmcnut in #5 (comment)
The text was updated successfully, but these errors were encountered:
benleb
No branches or pull requests
including general readme things and cool tips like the one from @xbmcnut below
And the code for button shown above. Icon changes from green to red when pet goes outside.
Originally posted by @xbmcnut in #5 (comment)
The text was updated successfully, but these errors were encountered: