migrate to zwavejs

This commit is contained in:
2021-12-01 14:05:10 +02:00
parent de40346f83
commit 9e94ed29d3
9 changed files with 76 additions and 59 deletions
@@ -96,7 +96,7 @@ cards:
- type: "custom:mini-graph-card"
entities:
- sensor.living_room_radiator_temperature
- sensor.trisensor_temperature
- sensor.multisensor_6_temperature
cache: false
group_by: hour
hours_to_show: 72
@@ -47,14 +47,14 @@
state_display: "[[[return entity.state.split(' ')[0] + ' pm2.5']]]"
variables:
state_size: "11px"
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.bedroom_left_window
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.bedroom_right_window
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.bedroom_door
@@ -34,9 +34,15 @@
- type: custom:button-card
template: v3_badge_humidity
entity: sensor.hallway_weather_humidity
- type: custom:button-card
template: v3_badge_icon
entity: group.hallway_motion
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.hallway_motion_occupancy
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.trisensor_home_security_motion_detection
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.front_door
@@ -67,13 +67,8 @@
name: Speech
- type: custom:button-card
template: v3_button
entity: input_select.bedroom_mode
name: Bedroom
tap_action:
action: call-service
service: input_select.select_next
service_data:
entity_id: input_select.bedroom_mode
entity: input_boolean.simulation_mode
name: Simulation
- type: horizontal-stack
cards:
@@ -88,8 +83,14 @@
name: Mercury
- type: custom:button-card
template: v3_button
entity: input_boolean.simulation_mode
name: Simulation
entity: input_select.bedroom_mode
name: Bedroom
tap_action:
action: call-service
service: input_select.select_next
service_data:
entity_id: input_select.bedroom_mode
- type: horizontal-stack
cards:
- type: custom:button-card
+25 -4
View File
@@ -26,7 +26,7 @@ binary_sensor.kitchen_motion_occupancy:
entities:
- entity: sensor.kitchen_motion_illuminance
binary_sensor.hallway_motion_occupancy:
group.hallway_motion:
title: Hallway motion
card:
type: vertical-stack
@@ -177,7 +177,7 @@ sensor.active_motion_sensors:
- margin-left: 8px
- type: custom:button-card
template: [v3_button, v3_popup_button]
entity: binary_sensor.trisensor_motion
entity: binary_sensor.trisensor_home_security_motion_detection
name: Hallway
- type: custom:button-card
template: [v3_button, v3_popup_button]
@@ -633,8 +633,29 @@ vacuum.vacuum:
subtitle: Cleaning time
- type: custom:xiaomi-vacuum-map-card
entity: vacuum.vacuum
camera_calibration: true
map_camera: camera.xiaomi_cloud_map_extractor
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
map_locked: true
map_modes:
- template: vacuum_clean_zone
- template: vacuum_goto
- template: vacuum_follow_path
- template: vacuum_clean_segment
name: Rooms
predefined_selections:
- zones: [[25457, 25178], [27053, 25119], [27053, 27779], [24334, 27839], [24334, 25533], [25398, 25474]]
id: 1
label:
text: "Kitchen"
x: 25457
y: 25178
offset_y: 35
icon:
name: "mdi:chef-hat"
x: 25457
y: 25178
switch.tapo_bedroom:
title: "Bedroom Camera"