Skip to content

Instantly share code, notes, and snippets.

@a-x-
Created March 25, 2021 18:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a-x-/c82b1a3f19bac7432794a52a5cab2d76 to your computer and use it in GitHub Desktop.
Save a-x-/c82b1a3f19bac7432794a52a5cab2d76 to your computer and use it in GitHub Desktop.
title: Home
views:
- title: Домофон
path: ''
icon: 'hass:phone'
badges: []
cards:
- type: entities
entities:
- entity: binary_sensor.domofon_incoming_call
icon: 'hass:phone'
secondary_info: last-changed
- entity: sensor.domofon_uptime
- entity: binary_sensor.domofon_button
- type: horizontal-stack
cards:
- type: button
tap_action:
action: toggle
entity: switch.domofon_automatically_open
name: Auto Open
- type: button
tap_action:
action: toggle
entity: switch.domofon_automatically_open_once
name: ... once
- type: horizontal-stack
cards:
- type: button
tap_action:
action: toggle
entity: switch.domofon_mute_sound
name: Mute
- type: button
tap_action:
action: toggle
entity: switch.domofon_mute_sound_once
name: ... once
- type: horizontal-stack
cards:
- type: button
tap_action:
action: toggle
entity: switch.domofon_automatically_reject
name: Auto reject
- type: button
tap_action:
action: toggle
entity: switch.domofon_restart
name: Restart
- type: markdown
content: ' '
- type: markdown
content: ' '
@a-x-
Copy link
Author

a-x- commented Mar 25, 2021

A8C70A38-B4EE-4A8C-BF94-771766D65BEA

@a-x-
Copy link
Author

a-x- commented Mar 25, 2021

как добавить:
дописать в /usr/share/hassio/homeassistant/.storage/lovelace
либо в интерфейсе быбрать raw editor и так добавить

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment