mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 09:12:57 +00:00
Add zwave devices
This commit is contained in:
@@ -12,9 +12,11 @@ button_card_templates: !include_dir_merge_named lovelace/button_card_templates
|
||||
title: Sarah
|
||||
views:
|
||||
- !include lovelace/advanced_dashboard/00_home.yaml
|
||||
- !include lovelace/advanced_dashboard/01_new.yaml
|
||||
- !include lovelace/advanced_dashboard/06_lights.yaml
|
||||
- !include lovelace/advanced_dashboard/07_media.yaml
|
||||
- !include lovelace/advanced_dashboard/09_network.yaml
|
||||
- !include lovelace/advanced_dashboard/10_system.yaml
|
||||
- !include lovelace/advanced_dashboard/11_covid_19.yaml
|
||||
- !include lovelace/advanced_dashboard/12_test.yaml
|
||||
- !include lovelace/advanced_dashboard/13_dev.yaml
|
||||
|
||||
@@ -134,6 +134,11 @@ panel_iframe:
|
||||
# https://www.home-assistant.io/integrations/zeroconf
|
||||
zeroconf:
|
||||
|
||||
# https://www.home-assistant.io/docs/z-wave/installation/
|
||||
zwave:
|
||||
usb_path: /dev/ttyACM1
|
||||
# device_config: !include zwave_device_config.yaml
|
||||
|
||||
#
|
||||
# ─── PLUGINS ────────────────────────────────────────────────────────────────────
|
||||
#
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
title: Home
|
||||
path: new
|
||||
icon: "mdi:new-box"
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
title: Trisensor
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- zwave.aeotec_limited_zwa005_trisensor
|
||||
- entity: sensor.trisensor_temperature
|
||||
name: Temperature
|
||||
- entity: sensor.trisensor_luminance
|
||||
name: Luminance
|
||||
- entity: sensor.trisensor_burglar
|
||||
name: Burglar
|
||||
- type: divider
|
||||
- entity: binary_sensor.trisensor_sensor
|
||||
name: Sensor
|
||||
- entity: sensor.trisensor_alarm_level
|
||||
name: Alarm level
|
||||
- entity: sensor.trisensor_alarm_type
|
||||
name: Alarm type
|
||||
- type: vertical-stack
|
||||
title: Multisensor
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- zwave.aeon_labs_zw100_multisensor_6
|
||||
- entity: sensor.multisensor_6_temperature
|
||||
name: Temperature
|
||||
- entity: sensor.multisensor_6_luminance
|
||||
name: Luminance
|
||||
- entity: sensor.multisensor_6_burglar
|
||||
name: Burglar
|
||||
- entity: sensor.multisensor_6_relative_humidity
|
||||
name: Relative humidity
|
||||
- entity: sensor.multisensor_6_ultraviolet
|
||||
name: Ultraviolet
|
||||
- type: divider
|
||||
- entity: binary_sensor.multisensor_6_sensor
|
||||
name: Sensor
|
||||
- entity: sensor.multisensor_6_alarm_level
|
||||
name: Alarm level
|
||||
- entity: sensor.multisensor_6_alarm_type
|
||||
name: Alarm type
|
||||
- type: vertical-stack
|
||||
title: Thermostat
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- zwave.eurotronic_eur_spiritz_wall_radiator_thermostat
|
||||
- entity: sensor.living_room_thermostat_temperature
|
||||
name: Temperature
|
||||
- entity: climate.living_room_thermostat_mode
|
||||
name: Mode
|
||||
- entity: sensor.living_room_thermostat_power_management
|
||||
name: Power management
|
||||
- entity: sensor.living_room_thermostat_system
|
||||
name: System
|
||||
- type: divider
|
||||
- entity: sensor.living_room_thermostat_alarm_level
|
||||
name: Alarm level
|
||||
- entity: sensor.living_room_thermostat_alarm_type
|
||||
name: Alarm type
|
||||
@@ -211,6 +211,23 @@ cards:
|
||||
|
||||
- type: divider
|
||||
|
||||
# Wallmote
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:dummy-entity-row
|
||||
name: Wallmote
|
||||
icon: mdi:light-switch
|
||||
entity: sun.sun
|
||||
entities:
|
||||
- automation.wallmote_living_room_1_tap_toggle_lights
|
||||
- automation.wallmote_living_room_1_hold_dim_lights
|
||||
- automation.wallmote_living_room_2_tap_toggle_music
|
||||
- automation.wallmote_living_room_2_hold_play_music
|
||||
- automation.wallmote_living_room_3_tap_volume_down
|
||||
- automation.wallmote_living_room_3_hold_volume_up
|
||||
- automation.wallmote_living_room_4_hold_toggle_titanium
|
||||
- type: divider
|
||||
|
||||
# Magic cube
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
@@ -232,6 +249,19 @@ cards:
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.carbon_battery_level
|
||||
- type: divider
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.trisensor_battery_level
|
||||
name: Trisensor
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.multisensor_6_battery_level
|
||||
name: Multisensor
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.living_room_thermostat_battery_level
|
||||
name: Thermostat
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.aeon_labs_zw130_wallmote_quad_battery_level
|
||||
name: Wallmote
|
||||
- type: divider
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.front_door_power
|
||||
- type: custom:battery-entity
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
title: dev
|
||||
path: dev
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- type: custom:button-card
|
||||
name: reload resources
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: lovelace.reload_resources
|
||||
# FOLDER CARD
|
||||
# - type: vertical-stack
|
||||
# cards:
|
||||
# - type: horizontal-stack
|
||||
# cards:
|
||||
# - type: custom:folder-card
|
||||
# entity: sensor.pds
|
||||
# max_count: 3
|
||||
# show_count: true
|
||||
# - type: custom:folder-card
|
||||
# entity: sensor.pds
|
||||
# max_count: 5
|
||||
# - type: custom:folder-card
|
||||
# entity: sensor.pds
|
||||
# max_count: 2
|
||||
# - type: custom:folder-card
|
||||
# entity: sensor.pds
|
||||
|
||||
# Time picker card
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:time-picker-card
|
||||
entity: input_datetime.alarm_time
|
||||
- type: custom:time-picker-card
|
||||
entity: input_datetime.alarm_time
|
||||
- type: custom:time-picker-card
|
||||
entity: input_datetime.alarm_time
|
||||
- type: custom:time-picker-card
|
||||
entity: input_datetime.alarm_time
|
||||
@@ -139,6 +139,4 @@
|
||||
show_state: false
|
||||
- entity: binary_sensor.amcrest_camera_online
|
||||
show_state: false
|
||||
- entity: binary_sensor.amcrest_camera_motion_detected
|
||||
show_state: false
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
binary_sensor.house_mode:
|
||||
title: House mode
|
||||
style: &popup_style
|
||||
'--ha-card-border-radius': 0 0 0.8em 0.8em
|
||||
"--ha-card-border-radius": 0 0 0.8em 0.8em
|
||||
border-radius: 0.8em
|
||||
opacity: 0.95
|
||||
min-width: 400px
|
||||
@@ -13,7 +13,7 @@ binary_sensor.house_mode:
|
||||
binary_sensor.motion_1_ias_zone:
|
||||
title: Kitchen motion
|
||||
style: &broad_popup_style
|
||||
'--ha-card-border-radius': 0 0 0.8em 0.8em
|
||||
"--ha-card-border-radius": 0 0 0.8em 0.8em
|
||||
border-radius: 0.8em
|
||||
opacity: 0.95
|
||||
margin-bottom: 200px
|
||||
@@ -87,8 +87,6 @@ switch.camera:
|
||||
entities:
|
||||
- switch.camera
|
||||
- binary_sensor.amcrest_camera_online
|
||||
- binary_sensor.amcrest_camera_motion_detected
|
||||
|
||||
|
||||
media_player.kitchen:
|
||||
title: Kitchen Sonos
|
||||
@@ -153,7 +151,6 @@ media_player.nvidia_shield: &nvidia_shield
|
||||
entity_id: media_player.living_room_tv
|
||||
source: Switch
|
||||
|
||||
|
||||
- type: custom:button-card
|
||||
name: Bulsatcom
|
||||
icon: mdi:remote-tv
|
||||
@@ -193,6 +190,7 @@ light.living_room_main_lights:
|
||||
type: custom:light-popup-card
|
||||
entity: light.living_room_main_lights
|
||||
fullscreen: false
|
||||
supportedFeaturesTreshold: -1
|
||||
actionsInARow: 2
|
||||
actions:
|
||||
- service: light.toggle
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
# "event_type": "zwave.scene_activated",
|
||||
# "data": {
|
||||
# "entity_id": "zwave.aeon_labs_zw130_wallmote_quad",
|
||||
# "node_id": 5,
|
||||
# "scene_id": 2,
|
||||
# "scene_data": 1
|
||||
# },
|
||||
|
||||
automation:
|
||||
- alias: Wallmote · Living room · 1 · Tap · Toggle lights
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: zwave.scene_activated
|
||||
event_data:
|
||||
entity_id: zwave.aeon_labs_zw130_wallmote_quad
|
||||
node_id: 5
|
||||
scene_id: 1
|
||||
scene_data: 0
|
||||
action:
|
||||
- service: light.toggle
|
||||
entity_id: light.living_room_all_lights
|
||||
|
||||
- alias: Wallmote · Living room · 1 · Hold · Dim lights
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: zwave.scene_activated
|
||||
event_data:
|
||||
entity_id: zwave.aeon_labs_zw130_wallmote_quad
|
||||
node_id: 5
|
||||
scene_id: 1
|
||||
scene_data: 1
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.living_room_all_lights
|
||||
data_template:
|
||||
brightness: >
|
||||
|
||||
{% if state_attr('light.living_room_main_lights', 'brightness') < 255 %}
|
||||
255
|
||||
{% else %}
|
||||
120
|
||||
{% endif %}
|
||||
|
||||
- alias: Wallmote · Living room · 2 · Tap · Toggle Music
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: zwave.scene_activated
|
||||
event_data:
|
||||
entity_id: zwave.aeon_labs_zw130_wallmote_quad
|
||||
node_id: 5
|
||||
scene_id: 2
|
||||
scene_data: 0
|
||||
action:
|
||||
- service: media_player.media_play_pause
|
||||
entity_id: media_player.living_room
|
||||
|
||||
- alias: Wallmote · Living room · 2 · Hold · Play music
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: zwave.scene_activated
|
||||
event_data:
|
||||
entity_id: zwave.aeon_labs_zw130_wallmote_quad
|
||||
node_id: 5
|
||||
scene_id: 2
|
||||
scene_data: 1
|
||||
action:
|
||||
- service: script.music_play
|
||||
|
||||
- alias: Wallmote · Living room · 3 · Tap · Volume down
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: zwave.scene_activated
|
||||
event_data:
|
||||
entity_id: zwave.aeon_labs_zw130_wallmote_quad
|
||||
node_id: 5
|
||||
scene_id: 3
|
||||
scene_data: 0
|
||||
action:
|
||||
- service: media_player.volume_down
|
||||
entity_id: media_player.living_room
|
||||
|
||||
- alias: Wallmote · Living room · 3 · Hold · Volume up
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: zwave.scene_activated
|
||||
event_data:
|
||||
entity_id: zwave.aeon_labs_zw130_wallmote_quad
|
||||
node_id: 5
|
||||
scene_id: 3
|
||||
scene_data: 1
|
||||
action:
|
||||
- service: media_player.volume_up
|
||||
entity_id: media_player.living_room
|
||||
|
||||
- alias: Wallmote · Living room · 4 · Hold · Toggle Titanium
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: zwave.scene_activated
|
||||
event_data:
|
||||
entity_id: zwave.aeon_labs_zw130_wallmote_quad
|
||||
node_id: 5
|
||||
scene_id: 4
|
||||
scene_data: 1
|
||||
action:
|
||||
- service: switch.toggle
|
||||
entity_id: switch.titanium
|
||||
|
||||
@@ -6,7 +6,6 @@ amcrest:
|
||||
resolution: low
|
||||
binary_sensors:
|
||||
- online
|
||||
- motion_detected
|
||||
|
||||
binary_sensor:
|
||||
- platform: template
|
||||
|
||||
Reference in New Issue
Block a user