Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tap_action:
- action: call-service
- service: |
- [[[
- this.dispatchEvent(new Event('hass-toggle-menu', { bubbles: true, composed: true}));
- return none;
- ]]]
- hold_action:
- action: fire-dom-event
- browser_mod:
- service: browser_mod.popup
- data:
- dismissable: true
- autoclose: false
- timeout: 5000
- content:
- type: custom:mod-card
- card_mod:
- style: |
- ha-card {
- padding: 5px;
- }
- card:
- show_name: true
- show_icon: true
- show_label: true
- label: chiude Home Assistant
- type: custom:button-card
- tap_action:
- action: url
- url_path: app://l.l
- name: Torna ad Android
- icon: mdi:android
- styles:
- card:
- - border: solid 5px red;
- - box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36);
- - border-radius: 30px
- - height: 390px
- - background: black
- - opacity: 80%
- name:
- - color: white
- - font-size: 24px
- - font-weight: 500
- label:
- - color: white
- - font-size: 14px
- - font-weight: 300
- icon:
- - color: yellow
- right_button: chiudi
- right_button_action:
- action: fire-dom-event
- browser_mod:
- service: browser_mod.close_popup
- deviceID: this
Advertisement
Add Comment
Please, Sign In to add comment