custom card
This commit is contained in:
@@ -4,172 +4,3 @@ uptime:
|
|||||||
friendly_name: Аптайм
|
friendly_name: Аптайм
|
||||||
device_type: sensor
|
device_type: sensor
|
||||||
entity_part: "uptime_"
|
entity_part: "uptime_"
|
||||||
|
|
||||||
control_tags:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: input_boolean
|
|
||||||
entity_part: "tag_"
|
|
||||||
|
|
||||||
sensor_tags:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: sensor
|
|
||||||
entity_part: "tag_"
|
|
||||||
|
|
||||||
light_control:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: input_boolean
|
|
||||||
entity_part: "_light_control"
|
|
||||||
|
|
||||||
report_control:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: input_boolean
|
|
||||||
entity_part: "_report"
|
|
||||||
|
|
||||||
automation_control:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: input_boolean
|
|
||||||
entities:
|
|
||||||
- input_boolean.presence_control
|
|
||||||
- input_boolean.water_control
|
|
||||||
- input_boolean.water_leak_control
|
|
||||||
- input_boolean.mainroom_climate_control
|
|
||||||
- switch.domofon_mode
|
|
||||||
|
|
||||||
door_sensors:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: binary_sensor
|
|
||||||
entity_part: "door_window_sensor_"
|
|
||||||
orderby: friendly_name
|
|
||||||
|
|
||||||
smoke_sensors:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: binary_sensor
|
|
||||||
entity_part: "smoke_sensor_"
|
|
||||||
|
|
||||||
water_leak_sensors:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: binary_sensor
|
|
||||||
entity_part: "water_leak_sensor_"
|
|
||||||
orderby: friendly_name
|
|
||||||
|
|
||||||
motion_sensors:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: binary_sensor
|
|
||||||
entity_part: "motion_sensor_"
|
|
||||||
orderby: friendly_name
|
|
||||||
|
|
||||||
presence_sensors:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: sensor
|
|
||||||
entities:
|
|
||||||
- sensor.presence_
|
|
||||||
- sensor.toilet_presence
|
|
||||||
|
|
||||||
epd_water_counters:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: sensor
|
|
||||||
entities:
|
|
||||||
- sensor.epd_balance
|
|
||||||
- sensor.counter_hot
|
|
||||||
- sensor.counter_cold
|
|
||||||
- sensor.counter_mosru_hot
|
|
||||||
- sensor.counter_mosru_cold
|
|
||||||
|
|
||||||
power_sensors:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
device_type: sensor
|
|
||||||
entities:
|
|
||||||
- sensor.power_mosenergosbyt_balance
|
|
||||||
- sensor.power_main_total
|
|
||||||
- sensor.power_mosenergosbyt_total
|
|
||||||
- sensor.power_total
|
|
||||||
- sensor.power_voltage
|
|
||||||
- sensor.power_current
|
|
||||||
- sensor.power_frequency
|
|
||||||
- sensor.power_active_power
|
|
||||||
- sensor.power_reactive_power
|
|
||||||
- sensor.power_power_factor
|
|
||||||
|
|
||||||
home_entities:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
entities:
|
|
||||||
- alarm_control_panel.ha_alarm
|
|
||||||
- switch.water_valve
|
|
||||||
- vacuum.xiaomi_vacuum_cleaner
|
|
||||||
- switch.domofon_open
|
|
||||||
- switch.wifi_socket
|
|
||||||
|
|
||||||
room_livingroom_entities:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
expand_group: True
|
|
||||||
entities:
|
|
||||||
- sensor.temperature_158d0001149b3c
|
|
||||||
- sensor.humidity_158d0001149b3c
|
|
||||||
- sensor.xiaomi_airpurifier_air_quality_pm25
|
|
||||||
- group.mainroom_light
|
|
||||||
- light.salt_lamp
|
|
||||||
- cover.curtain_158d0002b0c46a
|
|
||||||
- switch.plug_158d0001104a0c
|
|
||||||
- switch.plug_158d00010dd98d
|
|
||||||
- fan.xiaomi_miio_device
|
|
||||||
- climate.living_room
|
|
||||||
|
|
||||||
room_kitchen_entities:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
expand_group: True
|
|
||||||
entities:
|
|
||||||
- group.kitchen_light
|
|
||||||
- switch.plug_158d0001a68b18
|
|
||||||
- switch.plug_158d0001a68c64
|
|
||||||
- switch.plug_158d0001a4cfb4
|
|
||||||
- switch.plug_158d00020f3a29
|
|
||||||
- switch.plug_158d0002924779
|
|
||||||
- switch.xiaomi_miio_switch
|
|
||||||
|
|
||||||
room_bath_entities:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
entities:
|
|
||||||
- sensor.temperature_158d00012d9ad7
|
|
||||||
- sensor.humidity_158d00012d9ad7
|
|
||||||
- light.bath
|
|
||||||
- light.philips_led
|
|
||||||
- sensor.airfresher_remain
|
|
||||||
|
|
||||||
room_hall_entities:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
entities:
|
|
||||||
- light.hall
|
|
||||||
|
|
||||||
room_balcony_entities:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
expand_group: True
|
|
||||||
entities:
|
|
||||||
- group.balcony_light
|
|
||||||
- sensor.temperature_158d000117d37a
|
|
||||||
- sensor.humidity_158d000117d37a
|
|
||||||
- switch.plug_158d00026ea017
|
|
||||||
|
|
||||||
room_outside_entities:
|
|
||||||
module: groups
|
|
||||||
class: Groups
|
|
||||||
entities:
|
|
||||||
- sensor.temperature_158d000149c128
|
|
||||||
- sensor.humidity_158d000149c128
|
|
||||||
|
|||||||
+151
-58
@@ -1,7 +1,9 @@
|
|||||||
|
|
||||||
#custom cards
|
#custom cards
|
||||||
resources:
|
resources:
|
||||||
- url: /community_plugin/group-card/group-card.js
|
- url: /community_plugin/auto-entities/auto-entities.js
|
||||||
|
type: module
|
||||||
|
- url: /community_plugin/lovelace-auto-entities/auto-entities.js
|
||||||
type: module
|
type: module
|
||||||
|
|
||||||
title: Home
|
title: Home
|
||||||
@@ -9,99 +11,178 @@ views:
|
|||||||
- title: "Статус"
|
- title: "Статус"
|
||||||
icon: mdi:home
|
icon: mdi:home
|
||||||
cards:
|
cards:
|
||||||
- type: custom:group-card
|
- type: custom:auto-entities
|
||||||
group: group.home_entities
|
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Дом"
|
title: "Дом"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
entities:
|
||||||
group: group.room_livingroom_entities
|
- alarm_control_panel.ha_alarm
|
||||||
card:
|
- switch.water_valve
|
||||||
type: entities
|
- vacuum.xiaomi_vacuum_cleaner
|
||||||
title: "Гостиная"
|
- switch.domofon_open
|
||||||
show_header_toggle: false
|
- switch.wifi_socket
|
||||||
- type: custom:group-card
|
- type: custom:auto-entities
|
||||||
group: group.room_kitchen_entities
|
|
||||||
card:
|
|
||||||
type: entities
|
|
||||||
title: "Кухня"
|
|
||||||
show_header_toggle: false
|
|
||||||
- type: custom:group-card
|
|
||||||
group: group.room_bath_entities
|
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Ванная"
|
title: "Ванная"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
entities:
|
||||||
group: group.room_hall_entities
|
- sensor.temperature_158d00012d9ad7
|
||||||
card:
|
- sensor.humidity_158d00012d9ad7
|
||||||
type: entities
|
- light.bath
|
||||||
title: "Прихожая"
|
- light.philips_led
|
||||||
show_header_toggle: false
|
- sensor.airfresher_remain
|
||||||
- type: custom:group-card
|
- type: custom:auto-entities
|
||||||
group: group.room_balcony_entities
|
|
||||||
card:
|
|
||||||
type: entities
|
|
||||||
title: "Балкон"
|
|
||||||
show_header_toggle: false
|
|
||||||
- type: custom:group-card
|
|
||||||
group: group.room_outside_entities
|
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Улица"
|
title: "Улица"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
|
entities:
|
||||||
|
- sensor.temperature_158d000149c128
|
||||||
|
- sensor.humidity_158d000149c128
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: "Гостиная"
|
||||||
|
show_header_toggle: false
|
||||||
|
entities:
|
||||||
|
- sensor.temperature_158d0001149b3c
|
||||||
|
- sensor.humidity_158d0001149b3c
|
||||||
|
- sensor.xiaomi_airpurifier_air_quality_pm25
|
||||||
|
- light.yeelight_color1_34ce008fe328
|
||||||
|
- light.yeelight_color1_286c071065c7
|
||||||
|
- light.yeelight_mono1_34ce0087ff33
|
||||||
|
- light.yeelight_mono1_f0b4290e5444
|
||||||
|
- light.yeelight_mono1_f0b429a8f6df
|
||||||
|
- light.salt_lamp
|
||||||
|
- cover.curtain_158d0002b0c46a
|
||||||
|
- switch.plug_158d0001104a0c
|
||||||
|
- switch.plug_158d00010dd98d
|
||||||
|
- fan.xiaomi_miio_device
|
||||||
|
- climate.living_room
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: "Кухня"
|
||||||
|
show_header_toggle: false
|
||||||
|
entities:
|
||||||
|
- light.kitchen
|
||||||
|
- light.kitchen_mini_light
|
||||||
|
- switch.plug_158d0001a68b18
|
||||||
|
- switch.plug_158d0001a68c64
|
||||||
|
- switch.plug_158d0001a4cfb4
|
||||||
|
- switch.plug_158d00020f3a29
|
||||||
|
- switch.plug_158d0002924779
|
||||||
|
- switch.xiaomi_miio_switch
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: "Прихожая"
|
||||||
|
show_header_toggle: false
|
||||||
|
entities:
|
||||||
|
- light.hall
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: "Балкон"
|
||||||
|
show_header_toggle: false
|
||||||
|
entities:
|
||||||
|
- light.yeelight_mono1_286c07f12bed
|
||||||
|
- light.yeelight_mono1_f0b429a8d936
|
||||||
|
- sensor.temperature_158d000117d37a
|
||||||
|
- sensor.humidity_158d000117d37a
|
||||||
|
- switch.plug_158d00026ea017
|
||||||
- title: "Датчики"
|
- title: "Датчики"
|
||||||
icon: mdi:nfc
|
icon: mdi:nfc
|
||||||
cards:
|
cards:
|
||||||
- type: custom:group-card
|
- type: custom:auto-entities
|
||||||
group: group.motion_sensors
|
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Движение"
|
title: "Движение"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
filter:
|
||||||
group: group.water_leak_sensors
|
include:
|
||||||
|
- entity_id: "/sensor.motion_sensor_.*/"
|
||||||
|
sort:
|
||||||
|
method: name
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Протечка"
|
title: "Протечка"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
filter:
|
||||||
group: group.smoke_sensors
|
include:
|
||||||
|
- entity_id: "/sensor.water_leak_sensor_.*/"
|
||||||
|
sort:
|
||||||
|
method: name
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Датчики дыма"
|
title: "Датчики дыма"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
filter:
|
||||||
group: group.door_sensors
|
include:
|
||||||
|
- entity_id: "/sensor.smoke_sensor_.*/"
|
||||||
|
sort:
|
||||||
|
method: name
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Двери"
|
title: "Двери"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
filter:
|
||||||
group: group.epd_water_counters
|
include:
|
||||||
|
- entity_id: "/sensor.door_window_sensor_.*/"
|
||||||
|
sort:
|
||||||
|
method: name
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Счетчики воды"
|
title: "Счетчики воды"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
entities:
|
||||||
group: group.sensor_tags
|
- sensor.epd_balance
|
||||||
|
- sensor.counter_hot
|
||||||
|
- sensor.counter_cold
|
||||||
|
- sensor.counter_mosru_hot
|
||||||
|
- sensor.counter_mosru_cold
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Метки"
|
title: "Метки"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
filter:
|
||||||
group: group.presence_sensors
|
include:
|
||||||
|
- entity_id: "/sensor.tag_.*/"
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Пристутствие"
|
title: "Пристутствие"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
entities:
|
||||||
group: group.power_sensors
|
- sensor.toilet_presence
|
||||||
|
filter:
|
||||||
|
include:
|
||||||
|
- entity_id: "/sensor.presence_.*/"
|
||||||
|
sort:
|
||||||
|
method: name
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Электропитание"
|
title: "Электропитание"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
|
entities:
|
||||||
|
- sensor.power_mosenergosbyt_balance
|
||||||
|
- sensor.power_main_total
|
||||||
|
- sensor.power_mosenergosbyt_total
|
||||||
|
- sensor.power_total
|
||||||
|
- sensor.power_voltage
|
||||||
|
- sensor.power_current
|
||||||
|
- sensor.power_frequency
|
||||||
|
- sensor.power_active_power
|
||||||
|
- sensor.power_reactive_power
|
||||||
|
- sensor.power_power_factor
|
||||||
- title: "Камеры"
|
- title: "Камеры"
|
||||||
icon: mdi:cctv
|
icon: mdi:cctv
|
||||||
cards:
|
cards:
|
||||||
@@ -259,37 +340,49 @@ views:
|
|||||||
- title: "Настройки"
|
- title: "Настройки"
|
||||||
icon: mdi:settings
|
icon: mdi:settings
|
||||||
cards:
|
cards:
|
||||||
- type: custom:group-card
|
- type: custom:auto-entities
|
||||||
group: group.light_control
|
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Контроль света"
|
title: "Контроль света"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
- type: custom:group-card
|
filter:
|
||||||
group: group.automation_control
|
include:
|
||||||
|
- entity_id: "/input_boolean..*_light_control/"
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Настройки автоматики"
|
title: "Настройки автоматики"
|
||||||
show_header_toggle: true
|
show_header_toggle: true
|
||||||
- type: custom:group-card
|
entities:
|
||||||
group: group.report_control
|
- input_boolean.presence_control
|
||||||
|
- input_boolean.water_control
|
||||||
|
- input_boolean.water_leak_control
|
||||||
|
- input_boolean.mainroom_climate_control
|
||||||
|
- switch.domofon_mode
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Настройки отчетов"
|
title: "Настройки отчетов"
|
||||||
show_header_toggle: true
|
show_header_toggle: true
|
||||||
- type: custom:group-card
|
filter:
|
||||||
group: group.control_tags
|
include:
|
||||||
|
- entity_id: "/input_boolean..*_report/"
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Метки"
|
title: "Метки"
|
||||||
show_header_toggle: true
|
show_header_toggle: true
|
||||||
- type: custom:group-card
|
filter:
|
||||||
group: group.uptime
|
include:
|
||||||
|
- entity_id: "/input_boolean.tag_.*/"
|
||||||
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: "Аптайм"
|
title: "Аптайм"
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
|
filter:
|
||||||
|
include:
|
||||||
|
- entity_id: "/sensor.uptime_.*/"
|
||||||
- title: "Информация"
|
- title: "Информация"
|
||||||
icon: mdi:monitor-multiple
|
icon: mdi:monitor-multiple
|
||||||
cards:
|
cards:
|
||||||
|
|||||||
Reference in New Issue
Block a user