From df7c57ee68975aba0853567607a5573dff6daf09 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 21 Apr 2017 01:58:13 +0000 Subject: [PATCH] #110 - Added in ISS component. --- automation/tv_time_on_and_off.yaml | 3 +++ binary_sensor/iss.yaml | 2 ++ configuration.yaml | 1 + customize/binary_sensors.yaml | 6 +++++- packages/space.yaml | 9 --------- 5 files changed, 11 insertions(+), 10 deletions(-) create mode 100755 binary_sensor/iss.yaml delete mode 100755 packages/space.yaml diff --git a/automation/tv_time_on_and_off.yaml b/automation/tv_time_on_and_off.yaml index 7d71dc5a..4fed9a67 100755 --- a/automation/tv_time_on_and_off.yaml +++ b/automation/tv_time_on_and_off.yaml @@ -11,12 +11,15 @@ - platform: state entity_id: sensor.samsungtv state: 'Online' + from: 'Offline' - platform: state entity_id: sun.sun state: 'below_horizon' + from: 'above_horizon' - platform: state entity_id: media_player.living_room state: 'playing' + from: 'idle' condition: condition: and diff --git a/binary_sensor/iss.yaml b/binary_sensor/iss.yaml new file mode 100755 index 00000000..d5d804a0 --- /dev/null +++ b/binary_sensor/iss.yaml @@ -0,0 +1,2 @@ +- platform: iss + show_on_map: False diff --git a/configuration.yaml b/configuration.yaml index 7c8421f3..30906d8b 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -158,6 +158,7 @@ cover: password: !secret garadget_password name: Small Garage +binary_sensor: !include_dir_merge_list binary_sensor sensor: !include_dir_merge_list sensor automation: !include_dir_merge_list automation scene: !include_dir_merge_list scene diff --git a/customize/binary_sensors.yaml b/customize/binary_sensors.yaml index 2acb5176..12f8e935 100755 --- a/customize/binary_sensors.yaml +++ b/customize/binary_sensors.yaml @@ -28,7 +28,11 @@ binary_sensor.downstairs_thermostat_fan: hidden: True - +binary_sensor.iss: + icon: mdi:satellite-variant + friendly_name: ISS Visibility + emulated_hue: False + hidden: False binary_sensor.downstairs_thermostat_has_leaf: friendly_name: 'Downstairs Thermostat Has Leaf' diff --git a/packages/space.yaml b/packages/space.yaml deleted file mode 100755 index d43a5261..00000000 --- a/packages/space.yaml +++ /dev/null @@ -1,9 +0,0 @@ -homeassistant: - binary_sensor: - - platform: iss - show_on_map: False - - customize: - binary_sensor.iss: - icon: mdi:satellite-variant - friendly_name: ISS Visibility