0.117.5 fixes

This commit is contained in:
2020-11-08 16:01:24 +02:00
parent ff6a48f0e1
commit ef53bf5168
6 changed files with 18 additions and 22 deletions

View File

@@ -1,8 +1,8 @@
# Philips Purifier
# https://github.com/xMrVizzy/Philips-AirPurifier
fan:
platform: philips_airpurifier
host: !secret philips_purifier_ip
- platform: philips_airpurifier
host: !secret philips_purifier_ip
input_select:
purifier_speed:

View File

@@ -18,8 +18,8 @@ binary_sensor:
name: "Living room right window"
state_topic: "z2m_deconz/living_room_right_window"
availability_topic: "z2m_deconz/bridge/state"
payload_on: false
payload_off: true
payload_on: "false"
payload_off: "true"
value_template: "{{ value_json.contact }}"
device_class: "window"
@@ -27,8 +27,8 @@ binary_sensor:
name: "Bedroom left window"
state_topic: "z2m_deconz/bedroom_left_window"
availability_topic: "z2m_deconz/bridge/state"
payload_on: false
payload_off: true
payload_on: "false"
payload_off: "true"
value_template: "{{ value_json.contact }}"
device_class: "window"
@@ -36,8 +36,8 @@ binary_sensor:
name: "Bedroom right window"
state_topic: "z2m_deconz/bedroom_right_window"
availability_topic: "z2m_deconz/bridge/state"
payload_on: false
payload_off: true
payload_on: "false"
payload_off: "true"
value_template: "{{ value_json.contact }}"
device_class: "window"
@@ -45,8 +45,8 @@ binary_sensor:
name: "Kitchen window"
state_topic: "z2m_deconz/kitchen_window"
availability_topic: "z2m_deconz/bridge/state"
payload_on: false
payload_off: true
payload_on: "false"
payload_off: "true"
value_template: "{{ value_json.contact }}"
device_class: "window"

View File

@@ -14,7 +14,6 @@ binary_sensor:
sensors:
sonos_recoverable:
friendly_name: Sonos recoverable
entity_id: media_player.master_bedroom
value_template: >-
{% set content_id = state_attr('media_player.master_bedroom', 'media_content_id') %}

View File

@@ -45,7 +45,6 @@ binary_sensor:
friendly_name: Georgi
device_class: presence
value_template: "{{ is_state('input_boolean.georgi_home', 'on') }}"
entity_id: input_boolean.georgi_home
icon_template: >
{% if is_state('input_boolean.georgi_home', 'on') %} mdi:account
{% else %} mdi:account-off-outline
@@ -54,13 +53,11 @@ binary_sensor:
trisensor_motion:
friendly_name: TriSensor motion
device_class: motion
entity_id: sensor.trisensor_burglar
value_template: "{{ is_state('sensor.trisensor_burglar', '8') }}"
multisensor_motion:
friendly_name: MultiSensor motion
device_class: motion
entity_id: sensor.multisensor_6_burglar
value_template: "{{ is_state('sensor.multisensor_6_burglar', '8') }}"
sensor:

View File

@@ -36,15 +36,15 @@ binary_sensor:
name: "Bedroom door"
state_topic: "z2m_deconz/bedroom_door"
availability_topic: "z2m_deconz/bridge/state"
payload_on: false
payload_off: true
payload_on: "false"
payload_off: "true"
value_template: "{{ value_json.contact }}"
device_class: "door"
- platform: mqtt
name: "Front door"
state_topic: "z2m_deconz/front_door"
availability_topic: "z2m_deconz/bridge/state"
payload_on: false
payload_off: true
payload_on: "false"
payload_off: "true"
value_template: "{{ value_json.contact }}"
device_class: "door"

View File

@@ -3,16 +3,16 @@ binary_sensor:
name: "Hallway motion occupancy"
state_topic: "z2m_deconz/hallway_motion"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
payload_on: "true"
payload_off: "false"
value_template: "{{ value_json.occupancy }}"
device_class: "motion"
- platform: mqtt
name: "Kitchen motion occupancy"
state_topic: "z2m_deconz/kitchen_motion"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
payload_on: "true"
payload_off: "false"
value_template: "{{ value_json.occupancy }}"
device_class: "motion"