From 97b58bb32c6a34f123e556e4dbf8ef9e581ad447 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 21 Oct 2016 15:22:05 +0000 Subject: [PATCH] Time to clean up the views --- automation/update_notification.yaml | 1 + customize/homeassistant.yaml | 12 +++++++----- group/{scene.yaml => home_mode.yaml} | 1 + group/{devices.yaml => network.yaml} | 0 group/views.yaml | 23 ++++++++++++++++++++++- 5 files changed, 31 insertions(+), 6 deletions(-) rename group/{scene.yaml => home_mode.yaml} (66%) rename group/{devices.yaml => network.yaml} (100%) diff --git a/automation/update_notification.yaml b/automation/update_notification.yaml index 3ad96f87..23630e60 100755 --- a/automation/update_notification.yaml +++ b/automation/update_notification.yaml @@ -18,6 +18,7 @@ message: "Home Assistant {{ states('updater.updater') }} is available. - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}" data: url: "https://home-assistant.io/getting-started/installation-raspberry-pi-all-in-one/#upgrading" + - service: persistent_notification.create data: title: "Update Available" diff --git a/customize/homeassistant.yaml b/customize/homeassistant.yaml index caf2f1cf..b94e980d 100755 --- a/customize/homeassistant.yaml +++ b/customize/homeassistant.yaml @@ -6,16 +6,16 @@ sensor.since_last_boot_templated: friendly_name: 'HomeAssistant Uptime' icon: mdi:clock-start +input_boolean.guest_mode: + friendly_name: 'Guest Mode' + icon: mdi:account-alert + sensor.since_last_boot: hidden: true sensor.badlogin: hidden: true - -input_boolean.guest_mode: - friendly_name: 'Guest Mode' - icon: mdi:account-alert - + group.home_modes: friendly_name: 'Home Modes' @@ -24,3 +24,5 @@ group.all_lights: group.all_switches: hidden: false + + \ No newline at end of file diff --git a/group/scene.yaml b/group/home_mode.yaml similarity index 66% rename from group/scene.yaml rename to group/home_mode.yaml index 6e3de083..03670d38 100755 --- a/group/scene.yaml +++ b/group/home_mode.yaml @@ -1,4 +1,5 @@ home_modes: entities: - input_boolean.guest_mode + - automation.goodnight__away_mode - scene.living_room_tv_time diff --git a/group/devices.yaml b/group/network.yaml similarity index 100% rename from group/devices.yaml rename to group/network.yaml diff --git a/group/views.yaml b/group/views.yaml index efdaddb5..c73ea62e 100755 --- a/group/views.yaml +++ b/group/views.yaml @@ -1,15 +1,36 @@ +default_view: + name: Bear Stone Run + view: yes + icon: mdi:home + entities: + - persistent_notification.update_available + - group.home_mode + - group.family + - group.amps + - group.holiday + - group.Bedroom + - group.Kitchen + - group.Dinette + - group.living_room + - group.living_room_accents + - group.foyer + - group.upstairs + - group.den + - group.office + Lights: view: yes icon: mdi:lightbulb entities: - group.all_lights - group.all_switches + - group.all_automations Info: view: yes icon: mdi:settings entities: - group.family - - group.devices + - group.network - group.sensors - group.weather