Had to go back to smartthings for devices after HASSOS 4.8 upgrade
This commit is contained in:
parent
4ac0dce6f5
commit
b78465bffa
|
@ -36,7 +36,7 @@
|
|||
alias: Washer Emptied
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.washer_door
|
||||
entity_id: binary_sensor.washer_door_contact
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
action:
|
||||
|
@ -135,9 +135,9 @@
|
|||
- service: scene.turn_on
|
||||
entity_id: scene.normal_kitchen_lighting
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.0xf0d1b80000052281_switch # Rainbow Light
|
||||
entity_id: switch.rainbow_light # Rainbow Light
|
||||
- service: light.turn_on
|
||||
entity_id: light.0xe20db9fffe003637_light # Skylar's Lamp
|
||||
entity_id: light.skylars_tower # Skylar's Lamp
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.jeff_light_on
|
||||
- service: script.twitter_notify_image
|
||||
|
@ -167,10 +167,9 @@
|
|||
entity_id: input_boolean.vacation_mode
|
||||
state: 'off'
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.0xf0d1b80000052281_switch # Rainbow Light
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.skylar_lamp_25
|
||||
entity_id: scene.skylar_room_prebed
|
||||
|
||||
|
||||
- id: jeff_lights_out
|
||||
alias: Jeff lights out
|
||||
|
@ -274,13 +273,13 @@
|
|||
- service: switch.turn_off
|
||||
entity_id: switch.forest
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.living_room_fan
|
||||
entity_id: switch.livingroom_fan
|
||||
- service: light.turn_off
|
||||
data:
|
||||
entity_id: light.kitchen_cabinet_lights
|
||||
entity_id: light.ha_speaker
|
||||
- service: light.turn_off
|
||||
data:
|
||||
entity_id: light.kitchen_cabinets
|
||||
entity_id: light.kitchen_cabinets_2
|
||||
- service: script.good_night_loft
|
||||
- service: script.twitter_notify_image
|
||||
data_template:
|
||||
|
@ -307,7 +306,7 @@
|
|||
action:
|
||||
- service: switch.turn_on
|
||||
data:
|
||||
entity_id: switch.front_porch
|
||||
entity_id: switch.front_porch_light
|
||||
- service: script.sunset_garage_open
|
||||
- service: script.twitter_notify_image
|
||||
data_template:
|
||||
|
@ -353,7 +352,7 @@
|
|||
action:
|
||||
- service: switch.turn_off
|
||||
data:
|
||||
entity_id: switch.front_porch
|
||||
entity_id: switch.front_porch_light
|
||||
- service: script.twitter_notify_image
|
||||
data_template:
|
||||
tweet: >-
|
||||
|
@ -560,7 +559,7 @@
|
|||
platform: time
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.garage_door
|
||||
entity_id: binary_sensor.garage_door_contact
|
||||
state: 'on'
|
||||
action:
|
||||
- data:
|
||||
|
@ -570,7 +569,7 @@
|
|||
alias: Garage Closed
|
||||
initial_state: true
|
||||
trigger:
|
||||
- entity_id: binary_sensor.garage_door
|
||||
- entity_id: binary_sensor.garage_door_contact
|
||||
from: 'on'
|
||||
platform: state
|
||||
to: 'off'
|
||||
|
@ -589,14 +588,14 @@
|
|||
to: 'on'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: switch.living_room_fan
|
||||
entity_id: switch.livingroom_fan
|
||||
state: 'off'
|
||||
- above: '73'
|
||||
condition: numeric_state
|
||||
entity_id: sensor.living_room_temperature
|
||||
action:
|
||||
- data:
|
||||
entity_id: switch.living_room_fan
|
||||
entity_id: switch.livingroom_fan
|
||||
service: switch.turn_on
|
||||
- id: '1562067639239'
|
||||
alias: Upstairs Fan Off
|
||||
|
@ -608,7 +607,7 @@
|
|||
to: 'off'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: switch.upstairs_fan
|
||||
entity_id: switch.croft_fan
|
||||
state: 'on'
|
||||
- below: '72'
|
||||
condition: numeric_state
|
||||
|
@ -618,7 +617,7 @@
|
|||
state: 'off'
|
||||
action:
|
||||
- data:
|
||||
entity_id: switch.upstairs_fan
|
||||
entity_id: switch.croft_fan
|
||||
service: switch.turn_off
|
||||
- id: '1562630916597'
|
||||
alias: Kat Pill Reminder
|
||||
|
@ -685,7 +684,7 @@
|
|||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.kitchen_motion
|
||||
entity_id: binary_sensor.kitchen_motion_motion
|
||||
to: 'on'
|
||||
action:
|
||||
- service: script.kitchen_lights_night
|
||||
|
@ -705,11 +704,11 @@
|
|||
state: 'below_horizon'
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.driveway_light
|
||||
entity_id: switch.driveway_light_2
|
||||
- delay:
|
||||
minutes: 3
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.driveway_light
|
||||
entity_id: switch.driveway_light_2
|
||||
|
||||
- alias: "Delivered Package Notification"
|
||||
initial_state: 'on'
|
||||
|
@ -738,3 +737,24 @@
|
|||
A package was just left on the porch.
|
||||
call_interuption: 1
|
||||
|
||||
- alias: 'Battery Alert'
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '10:00:00'
|
||||
- platform: time
|
||||
at: '18:00:00'
|
||||
condition:
|
||||
condition: template
|
||||
value_template: "{% if states('sensor.low_battery') %}true{% endif %}"
|
||||
action:
|
||||
- service: persistent_notification.create
|
||||
data_template:
|
||||
title: Low Battery
|
||||
message: "{{ states('sensor.low_battery') }}"
|
||||
notification_id: low-battery-alert
|
||||
- service: script.text_notify
|
||||
data_template:
|
||||
title: "HA Issue"
|
||||
message: "Low battery levels: {{ states('sensor.low_battery') }}"
|
||||
who: 'jeff'
|
|
@ -1,42 +1,42 @@
|
|||
- platform: mqtt
|
||||
name: "Back Door"
|
||||
state_topic: "zwave2mqtt/back_door_sensor/48/1/0"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
device_class: door
|
||||
- platform: mqtt
|
||||
name: "Garage Door"
|
||||
state_topic: "zwave2mqtt/garage_door/48/1/0"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
device_class: garage_door
|
||||
- platform: mqtt
|
||||
name: "Front Door"
|
||||
state_topic: "zwave2mqtt/front_door_sensor/48/1/0"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
device_class: door
|
||||
- platform: mqtt
|
||||
name: "Laundry Room Door"
|
||||
state_topic: "zwave2mqtt/laundry_door_sensor/48/1/0"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
device_class: door
|
||||
- platform: mqtt
|
||||
name: "Attic Door" # Dome Door Sensor
|
||||
state_topic: "zwave2mqtt/attic_door/48/1/0"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
device_class: door
|
||||
- platform: mqtt
|
||||
name: "Side Door" # Dome Door Sensor
|
||||
state_topic: "zwave2mqtt/side_door_sensor/48/1/0"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
device_class: door
|
||||
- platform: mqtt
|
||||
name: "Washer Door"
|
||||
state_topic: "zwave2mqtt/washer_door_sensor/48/1/0"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
device_class: door
|
||||
# - platform: mqtt
|
||||
# name: "Back Door"
|
||||
# state_topic: "zwave2mqtt/back_door_sensor/48/1/0"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
# device_class: door
|
||||
# - platform: mqtt
|
||||
# name: "Garage Door"
|
||||
# state_topic: "zwave2mqtt/garage_door/48/1/0"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
# device_class: garage_door
|
||||
# - platform: mqtt
|
||||
# name: "Front Door"
|
||||
# state_topic: "zwave2mqtt/front_door_sensor/48/1/0"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
# device_class: door
|
||||
# - platform: mqtt
|
||||
# name: "Laundry Room Door"
|
||||
# state_topic: "zwave2mqtt/laundry_door_sensor/48/1/0"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
# device_class: door
|
||||
# - platform: mqtt
|
||||
# name: "Attic Door" # Dome Door Sensor
|
||||
# state_topic: "zwave2mqtt/attic_door/48/1/0"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
# device_class: door
|
||||
# - platform: mqtt
|
||||
# name: "Side Door" # Dome Door Sensor
|
||||
# state_topic: "zwave2mqtt/side_door_sensor/48/1/0"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
# device_class: door
|
||||
# - platform: mqtt
|
||||
# name: "Washer Door"
|
||||
# state_topic: "zwave2mqtt/washer_door_sensor/48/1/0"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
# device_class: door
|
|
@ -1,16 +1,16 @@
|
|||
- platform: mqtt
|
||||
name: "Garage Motion" # Dome Motion Sensor
|
||||
state_topic: "zwave2mqtt/garage_motion/48/1/0"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
device_class: motion
|
||||
# - platform: mqtt
|
||||
# name: "Garage Motion" # Dome Motion Sensor
|
||||
# state_topic: "zwave2mqtt/garage_motion/48/1/0"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
# device_class: motion
|
||||
|
||||
- platform: mqtt
|
||||
name: "Kitchen Motion" # Kaipule Motion Sensor
|
||||
state_topic: "zwave2mqtt/kitchen_motion/48/1/0"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
device_class: motion
|
||||
# - platform: mqtt
|
||||
# name: "Kitchen Motion" # Kaipule Motion Sensor
|
||||
# state_topic: "zwave2mqtt/kitchen_motion/48/1/0"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
# device_class: motion
|
||||
|
||||
# - platform: command_line
|
||||
# name: vlc player
|
||||
|
|
|
@ -11,30 +11,30 @@ House Conditions:
|
|||
- sensor.accurite_garage_humidity
|
||||
|
||||
Outside Lights:
|
||||
- switch.driveway_light
|
||||
- switch.front_porch
|
||||
- light.side_door_light
|
||||
- switch.driveway_light_2
|
||||
- switch.front_porch_light
|
||||
- light.side_door_light_2
|
||||
|
||||
External Doors:
|
||||
- binary_sensor.side_door
|
||||
- binary_sensor.front_door
|
||||
- binary_sensor.back_door
|
||||
- binary_sensor.laundry_room_door
|
||||
- binary_sensor.garage_door
|
||||
- binary_sensor.side_door_contact
|
||||
- binary_sensor.front_door_contact
|
||||
- binary_sensor.back_door_contact
|
||||
- binary_sensor.laundry_door_contact
|
||||
- binary_sensor.garage_door_contact
|
||||
|
||||
Garage Doors:
|
||||
- binary_sensor.side_door
|
||||
- binary_sensor.garage_door
|
||||
- binary_sensor.side_door_contact
|
||||
- binary_sensor.garage_door_contact
|
||||
|
||||
Internal Doors:
|
||||
- binary_sensor.attic_door
|
||||
- binary_sensor.attic_door_contact
|
||||
|
||||
|
||||
|
||||
rgb lr:
|
||||
- light.0xb0ce18140003608a_light
|
||||
- light.0xb0ce181400051b4c_light_2
|
||||
- light.0xb0ce181400051072_light_2
|
||||
- light.livingroom_tower
|
||||
- light.livingroom_lamp_1
|
||||
- light.livingroom_lamp_2
|
||||
|
||||
incense:
|
||||
- switch.incense
|
||||
|
@ -42,14 +42,16 @@ incense:
|
|||
- switch.forest
|
||||
|
||||
all fans:
|
||||
- switch.upstairs_fan
|
||||
- switch.living_room_fan
|
||||
- switch.croft_fan
|
||||
- switch.livingroom_fan
|
||||
|
||||
Skylars Bedroom:
|
||||
- light.0xe20db9fffe003637_light
|
||||
- switch.0xf0d1b80000052281_switch
|
||||
- light.skylars_lamp
|
||||
- switch.rainbow_light
|
||||
- light.skylars_spotlight
|
||||
- light.skylars_tower
|
||||
|
||||
Master Bedroom:
|
||||
- light.0xe20db9fffe004207_light
|
||||
- light.jeff_lamp
|
||||
|
||||
|
||||
|
|
|
@ -36,33 +36,34 @@
|
|||
# retain: true
|
||||
|
||||
# Outside
|
||||
- platform: mqtt
|
||||
name: "Side Door Light"
|
||||
command_topic: "zwave2mqtt/side_door_light/38/1/0/set"
|
||||
brightness_command_topic: "zwave2mqtt/side_door_light/38/1/0/set"
|
||||
brightness_scale: 99
|
||||
brightness_state_topic: "zwave2mqtt/side_door_light/38/1/0"
|
||||
on_command_type: "brightness"
|
||||
payload_off: 0
|
||||
# - platform: mqtt
|
||||
# name: "Side Door Light"
|
||||
# command_topic: "zwave2mqtt/side_door_light/38/1/0/set"
|
||||
# brightness_command_topic: "zwave2mqtt/side_door_light/38/1/0/set"
|
||||
# brightness_scale: 99
|
||||
# brightness_state_topic: "zwave2mqtt/side_door_light/38/1/0"
|
||||
# on_command_type: "brightness"
|
||||
# payload_off: 0
|
||||
|
||||
# Kitchen
|
||||
|
||||
- platform: mqtt
|
||||
name: "Kitchen Cabinets"
|
||||
command_topic: "zwave2mqtt/kitchen_cabinets/38/1/0/set"
|
||||
brightness_command_topic: "zwave2mqtt/kitchen_cabinets/38/1/0/set"
|
||||
brightness_scale: 99
|
||||
brightness_state_topic: "zwave2mqtt/kitchen_cabinets/38/1/0"
|
||||
on_command_type: "brightness"
|
||||
payload_off: 0
|
||||
retain: true
|
||||
# - platform: mqtt
|
||||
# name: "Kitchen Cabinets"
|
||||
# command_topic: "zwave2mqtt/kitchen_cabinets/38/1/0/set"
|
||||
# brightness_command_topic: "zwave2mqtt/kitchen_cabinets/38/1/0/set"
|
||||
# brightness_scale: 99
|
||||
# brightness_state_topic: "zwave2mqtt/kitchen_cabinets/38/1/0"
|
||||
# on_command_type: "brightness"
|
||||
# payload_off: 0
|
||||
# retain: true
|
||||
|
||||
# - platform: mqtt
|
||||
# name: "Kitchen Cabinet Lights"
|
||||
# command_topic: "zwave2mqtt/kitchen_strip/38/1/0/set"
|
||||
# brightness_command_topic: "zwave2mqtt/kitchen_strip/38/1/0/set"
|
||||
# brightness_scale: 99
|
||||
# brightness_state_topic: "zwave2mqtt/kitchen_strip/38/1/0"
|
||||
# on_command_type: "brightness"
|
||||
# payload_off: 0
|
||||
# retain: true
|
||||
|
||||
- platform: mqtt
|
||||
name: "Kitchen Cabinet Lights"
|
||||
command_topic: "zwave2mqtt/kitchen_strip/38/1/0/set"
|
||||
brightness_command_topic: "zwave2mqtt/kitchen_strip/38/1/0/set"
|
||||
brightness_scale: 99
|
||||
brightness_state_topic: "zwave2mqtt/kitchen_strip/38/1/0"
|
||||
on_command_type: "brightness"
|
||||
payload_off: 0
|
||||
retain: true
|
|
@ -1,27 +1,61 @@
|
|||
- name: all lights on
|
||||
entities:
|
||||
light.kitchen_cabinets:
|
||||
state: on
|
||||
brightness: 100
|
||||
light.kitchen_cabinet_lights:
|
||||
state: on
|
||||
switch.upstairs:
|
||||
state: on
|
||||
group.rgb_lr:
|
||||
state: on
|
||||
brightness_pct: 100
|
||||
rgb_color: [255,255,255]
|
||||
switch.fireplace_lights:
|
||||
state: on
|
||||
light.0xe20db9fffe004207_light:
|
||||
state: on
|
||||
brightness: 100
|
||||
light.0xe20db9fffe003637_light:
|
||||
state: on
|
||||
brightness: 100
|
||||
switch.0xf0d1b80000052281_switch:
|
||||
state: on
|
||||
switch.rail_lights:
|
||||
state: on
|
||||
light.0xb0ce18140003b334_light:
|
||||
state: on
|
||||
brightness: 100
|
||||
light.0xb0ce1814035bb3f0_light:
|
||||
state: on
|
||||
brightness: 100
|
||||
|
||||
|
||||
- name: normal livingroom lighting
|
||||
entities:
|
||||
group.rgb_lr:
|
||||
state: on
|
||||
brightness: 250
|
||||
brightness: 255
|
||||
color_temp: 369
|
||||
rgb_color: [255,255,255]
|
||||
# light.front_door_lamp:
|
||||
# state: on
|
||||
# brightness: 250
|
||||
# brightness: 255
|
||||
# light.living_room_lamp:
|
||||
# state: on
|
||||
# brightness: 250
|
||||
|
||||
- name: dimished livingroom lighting
|
||||
entities:
|
||||
light.0xb0ce18140003608a_light:
|
||||
light.livingroom_tower:
|
||||
state: on
|
||||
brightness: 40
|
||||
color_temp: 369
|
||||
light.0xb0ce181400051072_light_2:
|
||||
light.livingroom_lamp_2:
|
||||
state: off
|
||||
light.0xb0ce181400051b4c_light_2:
|
||||
light.livingroom_lamp_1:
|
||||
state: off
|
||||
switch.fireplace_lights:
|
||||
switch.fireplace_lights_2:
|
||||
state: off
|
||||
|
||||
- name: illuminations livingroom lighting two
|
||||
|
@ -61,15 +95,15 @@
|
|||
|
||||
- name: night time livingroom lighting
|
||||
entities:
|
||||
light.0xb0ce18140003608a_light:
|
||||
light.livingroom_tower:
|
||||
state: on
|
||||
brightness: 10
|
||||
color_temp: 369
|
||||
light.0xb0ce181400051072_light_2:
|
||||
light.livingroom_lamp_2:
|
||||
state: off
|
||||
light.0xb0ce181400051b4c_light_2:
|
||||
light.livingroom_lamp_1:
|
||||
state: off
|
||||
switch.fireplace_lights:
|
||||
switch.fireplace_lights_2:
|
||||
state: off
|
||||
|
||||
- name: diminished kitchen lighting
|
||||
|
@ -77,7 +111,7 @@
|
|||
light.kitchen_cabinets:
|
||||
state: on
|
||||
brightness: 10
|
||||
light.kitchen_cabinet_lights:
|
||||
switch.ha_speaker:
|
||||
state: off
|
||||
|
||||
- name: normal kitchen lighting
|
||||
|
@ -85,28 +119,28 @@
|
|||
light.kitchen_cabinets:
|
||||
state: on
|
||||
brightness: 250
|
||||
light.kitchen_cabinet_lights:
|
||||
switch.ha_speaker:
|
||||
state: on
|
||||
|
||||
- name: lights out
|
||||
entities:
|
||||
light.kitchen_cabinets:
|
||||
state: off
|
||||
light.kitchen_cabinet_lights:
|
||||
switch.ha_speaker:
|
||||
state: off
|
||||
switch.upstairs:
|
||||
switch.croft_light:
|
||||
state: off
|
||||
group.rgb_lr:
|
||||
state: off
|
||||
switch.fireplace_lights:
|
||||
state: off
|
||||
light.0xb0ce18140003608a_light:
|
||||
light.skylar_tower:
|
||||
state: off
|
||||
light.0xe20db9fffe004207_light:
|
||||
light.jeff_lamp:
|
||||
state: off
|
||||
light.0xe20db9fffe003637_light:
|
||||
light.skylar_spotlight:
|
||||
state: off
|
||||
switch.0xf0d1b80000052281_switch:
|
||||
switch.rainbow_light:
|
||||
state: off
|
||||
switch.rail_lights:
|
||||
state: off
|
||||
|
@ -116,36 +150,24 @@
|
|||
entities:
|
||||
light.kitchen_cabinets:
|
||||
state: off
|
||||
light.kitchen_cabinet_lights:
|
||||
switch.ha_speaker:
|
||||
state: off
|
||||
switch.ge_14291_in_wall_smart_switch_switch_2:
|
||||
switch.fireplace_lights:
|
||||
state: off
|
||||
group.rgb_lr:
|
||||
state: on
|
||||
brightness_pct: 100
|
||||
# light.front_door_lamp:
|
||||
# state: on
|
||||
# brightness: 40
|
||||
# light.living_room_lamp:
|
||||
# state: on
|
||||
# brightness: 40
|
||||
switch.fireplace_lights:
|
||||
brightness: 255
|
||||
switch.rail_lights:
|
||||
state: off
|
||||
|
||||
- name: haunted lights out
|
||||
entities:
|
||||
light.kitchen_cabinets:
|
||||
state: off
|
||||
light.kitchen_cabinet_lights:
|
||||
state: off
|
||||
switch.ge_14291_in_wall_smart_switch_switch_2:
|
||||
switch.ha_speaker:
|
||||
state: off
|
||||
group.rgb_lr:
|
||||
state: off
|
||||
# light.front_door_lamp:
|
||||
# state: off
|
||||
# light.living_room_lamp:
|
||||
# state: off
|
||||
switch.fireplace_lights:
|
||||
state: off
|
||||
|
||||
|
@ -185,14 +207,18 @@
|
|||
|
||||
- name: tower lamp red
|
||||
entities:
|
||||
light.0xb0ce18140003608a_light:
|
||||
light.livingroom_tower:
|
||||
state: on
|
||||
brightness_pct: 100
|
||||
rgb_color: [255,40,0]
|
||||
|
||||
- name: front lamp green
|
||||
entities:
|
||||
light.0xb0ce181400051072_light_2:
|
||||
light.livingroom_lamp_1:
|
||||
state: on
|
||||
brightness_pct: 100
|
||||
rgb_color: [0,128,0]
|
||||
light.livingroom_lamp_2:
|
||||
state: on
|
||||
brightness_pct: 100
|
||||
rgb_color: [0,128,0]
|
||||
|
@ -200,61 +226,61 @@
|
|||
|
||||
- name: jeff light on
|
||||
entities:
|
||||
light.0xe20db9fffe004207_light:
|
||||
light.jeff_bedside_lamp:
|
||||
state: on
|
||||
brightness: 100
|
||||
brightness: 255
|
||||
|
||||
- name: jeff light off
|
||||
entities:
|
||||
light.0xe20db9fffe004207_light:
|
||||
light.jeff_bedside_lamp:
|
||||
state: off
|
||||
|
||||
|
||||
- name: jeff wake up
|
||||
entities:
|
||||
light.0xe20db9fffe004207_light:
|
||||
light.jeff_bedside_lamp:
|
||||
state: on
|
||||
brightness: 10
|
||||
|
||||
- name: jeff bedtime
|
||||
entities:
|
||||
light.0xe20db9fffe004207_light:
|
||||
light.jeff_bedside_lamp:
|
||||
state: on
|
||||
brightness: 40
|
||||
|
||||
- name: jeff night light
|
||||
entities:
|
||||
light.0xe20db9fffe004207_light:
|
||||
light.jeff_bedside_lamp:
|
||||
state: on
|
||||
brightness: 10
|
||||
|
||||
- name: skylar lamp on
|
||||
- name: skylar tower on
|
||||
entities:
|
||||
light.0xe20db9fffe003637_light:
|
||||
light.skylar_tower:
|
||||
state: on
|
||||
brightness: 100
|
||||
brightness: 255
|
||||
|
||||
- name: skylar lamp 75
|
||||
- name: skylar tower 75
|
||||
entities:
|
||||
light.0xe20db9fffe003637_light:
|
||||
light.skylar_tower:
|
||||
state: on
|
||||
brightness: 75
|
||||
brightness: 192
|
||||
|
||||
- name: skylar lamp 50
|
||||
- name: skylar tower 50
|
||||
entities:
|
||||
light.0xe20db9fffe003637_light:
|
||||
light.skylar_tower:
|
||||
state: on
|
||||
brightness: 50
|
||||
brightness: 130
|
||||
|
||||
- name: skylar lamp 25
|
||||
- name: skylar tower 25
|
||||
entities:
|
||||
light.0xe20db9fffe003637_light:
|
||||
light.skylar_tower:
|
||||
state: on
|
||||
brightness: 25
|
||||
brightness: 63
|
||||
|
||||
- name: skylar lamp off
|
||||
- name: skylar tower off
|
||||
entities:
|
||||
light.0xe20db9fffe003637_light:
|
||||
light.skylar_tower:
|
||||
state: off
|
||||
|
||||
- name: santa protocol
|
||||
|
@ -264,6 +290,32 @@
|
|||
switch.rail_lights:
|
||||
state: on
|
||||
|
||||
- name: skylar room prebed
|
||||
entities:
|
||||
light.skylar_tower:
|
||||
state: on
|
||||
brightness: 192
|
||||
light.wled_loftbed:
|
||||
state: on
|
||||
brightness: 255
|
||||
rgb_color: [63, 255, 0]
|
||||
switch.rainbow_light:
|
||||
state: on
|
||||
|
||||
|
||||
- name: skylar room sleep
|
||||
entities:
|
||||
light.skylar_tower:
|
||||
state: off
|
||||
light.wled_loftbed:
|
||||
state: on
|
||||
brightness_pct: 100
|
||||
rgb_color: [63, 255, 0]
|
||||
switch.rainbow_light:
|
||||
state: on
|
||||
switch.wled_loftbed_nightlight:
|
||||
state: on
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -277,21 +329,34 @@
|
|||
entities:
|
||||
group.rgb_lr:
|
||||
state: on
|
||||
brightness_pct: 100
|
||||
brightness: 255
|
||||
rgb_color: [255,255,255]
|
||||
|
||||
- name : lr_blue
|
||||
entities:
|
||||
group.rgb_lr:
|
||||
state: on
|
||||
brightness_pct: 100
|
||||
brightness: 255
|
||||
color_name: "blue"
|
||||
|
||||
- name : lr_red
|
||||
entities:
|
||||
group.rgb_lr:
|
||||
state: on
|
||||
brightness_pct: 100
|
||||
brightness: 255
|
||||
rgb_color: [255,40,0]
|
||||
|
||||
|
||||
#######################################
|
||||
# Home Theater
|
||||
|
||||
- name: normal audio
|
||||
entities:
|
||||
media_player.tsr_6750_a3ed2f:
|
||||
state: on
|
||||
source: HDMI1
|
||||
|
||||
- name: quiet audio
|
||||
entities:
|
||||
media_player.tsr_6750_a3ed2f:
|
||||
state: off
|
|
@ -40,7 +40,7 @@ inside_all_on:
|
|||
- service: switch.turn_on
|
||||
entity_id: switch.fireplace_lights
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.upstairs
|
||||
entity_id: switch.croft_light
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.rail_lights
|
||||
- service: scene.turn_on
|
||||
|
@ -141,10 +141,10 @@ driveway_off:
|
|||
- delay:
|
||||
seconds: 120
|
||||
- condition: state
|
||||
entity_id: binary_sensor.side_door
|
||||
entity_id: binary_sensor.side_door_contact
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.garage_door
|
||||
entity_id: binary_sensor.garage_door_contact
|
||||
state: 'off'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.driveway_light
|
||||
|
|
|
@ -5,29 +5,6 @@
|
|||
#########################################
|
||||
|
||||
|
||||
##########################
|
||||
# Dim Living Room lights slowly - Sengled Bulbs - No Built in Transistion.
|
||||
# Script can take a delay, if no delay is passed delay is set to 5
|
||||
# delay should be in seconds
|
||||
# Script takes the following
|
||||
# entity_id = The light you want to fade in
|
||||
# transition: = # Seconds to go from current to end brightness
|
||||
# brightness_pct: = # Brightness to end at as a percentage
|
||||
lr_sengled_transistion_on:
|
||||
sequence:
|
||||
- service: python_script.light_transistion
|
||||
data:
|
||||
entity_id: light.tower_lamp_2
|
||||
brightness_pct: 100
|
||||
transition: 60
|
||||
|
||||
lr_sengled_transistion_off:
|
||||
sequence:
|
||||
- service: python_script.light_transistion
|
||||
data:
|
||||
entity_id: light.tower_lamp_2
|
||||
brightness_pct: 0
|
||||
transition: 60
|
||||
|
||||
# Turn on Living Room Lights if sun is down or cloud coverage is above 70%
|
||||
livingroom_lamps_on:
|
||||
|
@ -57,9 +34,9 @@ good_night_loft:
|
|||
entity_id: media_player.pn60e550_pn60e550
|
||||
state: "off"
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.upstairs_fan
|
||||
entity_id: switch.croft_fan
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.upstairs
|
||||
entity_id: switch.croft_light
|
||||
|
||||
kitchen_lights_on:
|
||||
sequence:
|
||||
|
|
|
@ -1,66 +1 @@
|
|||
- platform: mqtt
|
||||
name: "Battery Front Door Sensor"
|
||||
state_topic: "zwave2mqtt/front_door_sensor/128/1/0"
|
||||
unit_of_measurement: "%"
|
||||
device_class: battery
|
||||
value_template: "{{ value }}"
|
||||
json_attributes_topic: "zwave2mqtt/front_door_sensor/128/1/0"
|
||||
- platform: mqtt
|
||||
name: "Battery Laundry Door Sensor"
|
||||
state_topic: "zwave2mqtt/laundry_door_sensor/128/1/0"
|
||||
unit_of_measurement: "%"
|
||||
device_class: battery
|
||||
value_template: "{{ value }}"
|
||||
json_attributes_topic: "zwave2mqtt/laundry_door_sensor/128/1/0"
|
||||
- platform: mqtt
|
||||
name: "Battery Kitchen Smoke Detector"
|
||||
state_topic: "zwave2mqtt/kitchen_detector/128/1/0"
|
||||
unit_of_measurement: "%"
|
||||
device_class: battery
|
||||
value_template: "{{ value }}"
|
||||
json_attributes_topic: "zwave2mqtt/kitchen_detector/128/1/0"
|
||||
- platform: mqtt
|
||||
name: "Battery Garage Smoke Detector"
|
||||
state_topic: "zwave2mqtt/garage_detector/128/1/0"
|
||||
unit_of_measurement: "%"
|
||||
device_class: battery
|
||||
value_template: "{{ value }}"
|
||||
json_attributes_topic: "zwave2mqtt/garage_detector/128/1/0"
|
||||
- platform: mqtt
|
||||
name: "Battery Attic Door Sensor"
|
||||
state_topic: "zwave2mqtt/attic_door/128/1/0"
|
||||
unit_of_measurement: "%"
|
||||
device_class: battery
|
||||
value_template: "{{ value }}"
|
||||
json_attributes_topic: "zwave2mqtt/attic_door/128/1/0"
|
||||
- platform: mqtt
|
||||
name: "Battery Washer Door Sensor"
|
||||
state_topic: "zwave2mqtt/washer_door_sensor/128/1/0"
|
||||
unit_of_measurement: "%"
|
||||
device_class: battery
|
||||
value_template: "{{ value }}"
|
||||
json_attributes_topic: "zwave2mqtt/washer_door_sensor/128/1/0"
|
||||
- platform: mqtt
|
||||
name: "Battery Back Door Sensor"
|
||||
state_topic: "zwave2mqtt/back_door_sensor/128/1/0"
|
||||
unit_of_measurement: "%"
|
||||
device_class: battery
|
||||
value_template: "{{ value }}"
|
||||
json_attributes_topic: "zwave2mqtt/back_door_sensor/128/1/0"
|
||||
- platform: mqtt
|
||||
name: "Battery Side Door Sensor"
|
||||
state_topic: "zwave2mqtt/side_door_sensor/128/1/0"
|
||||
unit_of_measurement: "%"
|
||||
device_class: battery
|
||||
value_template: "{{ value }}"
|
||||
json_attributes_topic: "zwave2mqtt/side_door_sensor/128/1/0"
|
||||
- platform: mqtt
|
||||
name: "Battery Garage Door Sensor"
|
||||
state_topic: "zwave2mqtt/garage_door/128/1/0"
|
||||
unit_of_measurement: "%"
|
||||
device_class: battery
|
||||
value_template: "{{ value }}"
|
||||
json_attributes_topic: "zwave2mqtt/garage_door/128/1/0"
|
||||
- platform: mqtt
|
||||
name: "Battery Garage Motion Sensor"
|
||||
state_topic: "zwave2mqtt/garage_motion/128/1/0"
|
||||
|
||||
|
|
|
@ -1,29 +1,58 @@
|
|||
- platform: mqtt
|
||||
name: "Washer"
|
||||
state_topic: "zwave2mqtt/washer/50/1/0"
|
||||
device_class: "power"
|
||||
unit_of_measurement: "kWh"
|
||||
# - platform: mqtt
|
||||
# name: "Washer"
|
||||
# state_topic: "zwave2mqtt/washer/50/1/0"
|
||||
# device_class: "power"
|
||||
# unit_of_measurement: "kWh"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Washer Power 1"
|
||||
state_topic: "zwave2mqtt/washer/49/1/4"
|
||||
device_class: "power"
|
||||
unit_of_measurement: "W"
|
||||
# - platform: mqtt
|
||||
# name: "Washer Power 1"
|
||||
# state_topic: "zwave2mqtt/washer/49/1/4"
|
||||
# device_class: "power"
|
||||
# unit_of_measurement: "W"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Washer_Power"
|
||||
state_topic: "zwave2mqtt/washer/50/1/2"
|
||||
device_class: "power"
|
||||
unit_of_measurement: "W"
|
||||
# - platform: mqtt
|
||||
# name: "Washer_Power"
|
||||
# state_topic: "zwave2mqtt/washer/50/1/2"
|
||||
# device_class: "power"
|
||||
# unit_of_measurement: "W"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Washer Power 3"
|
||||
state_topic: "zwave2mqtt/washer/50/1/9"
|
||||
device_class: "power"
|
||||
unit_of_measurement: "W"
|
||||
# - platform: mqtt
|
||||
# name: "Washer Power 3"
|
||||
# state_topic: "zwave2mqtt/washer/50/1/9"
|
||||
# device_class: "power"
|
||||
# unit_of_measurement: "W"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Washer Power kwh"
|
||||
state_topic: "zwave2mqtt/washer/50/1/1"
|
||||
device_class: "power"
|
||||
unit_of_measurement: "kWh"
|
||||
# - platform: mqtt
|
||||
# name: "Washer Power kwh"
|
||||
# state_topic: "zwave2mqtt/washer/50/1/1"
|
||||
# device_class: "power"
|
||||
# unit_of_measurement: "kWh"
|
||||
|
||||
|
||||
- platform: template
|
||||
sensors:
|
||||
washer_power:
|
||||
friendly_name: "Washer Power"
|
||||
entity_id: sensor.time
|
||||
unit_of_measurement: ''
|
||||
value_template: >-
|
||||
{{ states.switch.washer.attributes.current_power_w | int }}
|
||||
low_battery:
|
||||
friendly_name: 'Low Battery'
|
||||
entity_id: sensor.time
|
||||
value_template: >
|
||||
{%- set threshold = 15 -%}
|
||||
{%- set domains = ['light', 'switch', 'sensor', 'zwave', 'lock', 'binary_sensor'] -%}
|
||||
{%- for domain in domains -%}
|
||||
{%- for item in states[domain] if ((item.attributes.battery_level is defined and item.attributes['battery_level'] | int < threshold) or ("battery" in item.name | lower and ((item.state | int < threshold and item.state|int != 0) or item.state | lower == "low" or item.state | lower == "unknown"))) -%}
|
||||
{{ item.attributes.friendly_name }} (
|
||||
{%- if item.attributes.battery_level is defined -%}
|
||||
{{ item.attributes.battery_level}}
|
||||
{%- else -%}
|
||||
{{item.state}}
|
||||
{%- endif -%}%)
|
||||
{%- if not loop.last -%}
|
||||
{{', '}}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- endfor -%}
|
|
@ -1,25 +1,25 @@
|
|||
# Living Room
|
||||
|
||||
- platform: mqtt
|
||||
name: "Incense"
|
||||
state_topic: "zwave2mqtt/incense/37/1/0"
|
||||
command_topic: "zwave2mqtt/incense/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Incense"
|
||||
# state_topic: "zwave2mqtt/incense/37/1/0"
|
||||
# command_topic: "zwave2mqtt/incense/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Living Room Fan"
|
||||
state_topic: "zwave2mqtt/living_room_fan/37/1/0"
|
||||
command_topic: "zwave2mqtt/living_room_fan/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Living Room Fan"
|
||||
# state_topic: "zwave2mqtt/living_room_fan/37/1/0"
|
||||
# command_topic: "zwave2mqtt/living_room_fan/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Fireplace Lights"
|
||||
state_topic: "zwave2mqtt/fireplace_lights/37/1/0"
|
||||
command_topic: "zwave2mqtt/fireplace_lights/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Fireplace Lights"
|
||||
# state_topic: "zwave2mqtt/fireplace_lights/37/1/0"
|
||||
# command_topic: "zwave2mqtt/fireplace_lights/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
# Notifications
|
||||
|
||||
|
@ -80,19 +80,19 @@
|
|||
|
||||
# Outside
|
||||
|
||||
- platform: mqtt
|
||||
name: "Driveway Light"
|
||||
state_topic: "zwave2mqtt/driveway_light/37/1/0"
|
||||
command_topic: "zwave2mqtt/driveway_light/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Driveway Light"
|
||||
# state_topic: "zwave2mqtt/driveway_light/37/1/0"
|
||||
# command_topic: "zwave2mqtt/driveway_light/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Front Porch"
|
||||
state_topic: "zwave2mqtt/front_porch/37/1/0"
|
||||
command_topic: "zwave2mqtt/front_porch/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Front Porch"
|
||||
# state_topic: "zwave2mqtt/front_porch/37/1/0"
|
||||
# command_topic: "zwave2mqtt/front_porch/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
# Sonoff
|
||||
|
||||
|
@ -107,43 +107,43 @@
|
|||
|
||||
# Upstairs
|
||||
|
||||
- platform: mqtt
|
||||
name: "Upstairs Fan"
|
||||
state_topic: "zwave2mqtt/upstairs_fan/37/1/0"
|
||||
command_topic: "zwave2mqtt/upstairs_fan/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Upstairs Fan"
|
||||
# state_topic: "zwave2mqtt/upstairs_fan/37/1/0"
|
||||
# command_topic: "zwave2mqtt/upstairs_fan/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Theater Power"
|
||||
state_topic: "zwave2mqtt/theater_power/37/1/0"
|
||||
command_topic: "zwave2mqtt/theater_power/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Theater Power"
|
||||
# state_topic: "zwave2mqtt/theater_power/37/1/0"
|
||||
# command_topic: "zwave2mqtt/theater_power/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Upstairs"
|
||||
state_topic: "zwave2mqtt/upstairs_light/37/1/0"
|
||||
command_topic: "zwave2mqtt/upstairs_light/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Upstairs"
|
||||
# state_topic: "zwave2mqtt/upstairs_light/37/1/0"
|
||||
# command_topic: "zwave2mqtt/upstairs_light/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
# Appliance
|
||||
|
||||
- platform: mqtt
|
||||
name: "Washer"
|
||||
state_topic: "zwave2mqtt/washer/37/1/0"
|
||||
command_topic: "zwave2mqtt/washer/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Washer"
|
||||
# state_topic: "zwave2mqtt/washer/37/1/0"
|
||||
# command_topic: "zwave2mqtt/washer/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
|
||||
# alarm
|
||||
|
||||
- platform: mqtt
|
||||
name: "Alarm"
|
||||
state_topic: "zwave2mqtt/nodeID_21/37/1/0"
|
||||
command_topic: "zwave2mqtt/nodeID_21/37/1/0/set"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
# - platform: mqtt
|
||||
# name: "Alarm"
|
||||
# state_topic: "zwave2mqtt/nodeID_21/37/1/0"
|
||||
# command_topic: "zwave2mqtt/nodeID_21/37/1/0/set"
|
||||
# payload_on: "true"
|
||||
# payload_off: "false"
|
||||
|
||||
|
|
Loading…
Reference in New Issue