From 6f5f9915d823ae0594c6387d3ad2dee01a44418b Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 2 Jun 2022 03:47:31 -0400 Subject: [PATCH] Apparently some sensors don't like icons. Lame. --- packages/presence.yaml | 3 --- sensors/entertainment.yaml | 3 --- sensors/house_stats.yaml | 14 -------------- 3 files changed, 20 deletions(-) diff --git a/packages/presence.yaml b/packages/presence.yaml index 1675289..56cee4a 100644 --- a/packages/presence.yaml +++ b/packages/presence.yaml @@ -41,7 +41,6 @@ sensor: sensors: tony_location: friendly_name: "Tony" - icon: mdi:map-marker unit_of_measurement: "" value_template: >- {% set person = states.person.tony_stork.state %} @@ -58,7 +57,6 @@ sensor: sensors: tina_location: friendly_name: "Tina" - icon: mdi:map-marker unit_of_measurement: "" value_template: >- {% set person = states.person.christina_stork.state %} @@ -77,7 +75,6 @@ sensor: sensors: kallen_location: friendly_name: "Kallen" - icon: mdi:map-marker unit_of_measurement: "" value_template: >- {% if is_state('input_boolean.kallen_school', 'on') %} diff --git a/sensors/entertainment.yaml b/sensors/entertainment.yaml index 547f1a7..1297de2 100644 --- a/sensors/entertainment.yaml +++ b/sensors/entertainment.yaml @@ -20,7 +20,6 @@ sensors: basement_tv_current_app: friendly_name: 'Basement TV Current App' - icon: mdi:television-play value_template: >- {% if is_state('media_player.basement_tv','off') %} Off @@ -29,7 +28,6 @@ {% endif %} living_room_tv_current_app: friendly_name: 'Living Room TV Current App' - icon: mdi:television-play value_template: >- {% if is_state('media_player.living_room_tv','off') %} Off @@ -38,7 +36,6 @@ {% endif %} master_bedroom_tv_current_app: friendly_name: 'Master Bedroom TV Current App' - icon: mdi:television-play value_template: >- {% if is_state('media_player.master_bedroom_firetv','off') %} Off diff --git a/sensors/house_stats.yaml b/sensors/house_stats.yaml index 36c8ff7..6b1c774 100644 --- a/sensors/house_stats.yaml +++ b/sensors/house_stats.yaml @@ -42,7 +42,6 @@ {{ states | selectattr('state', 'eq', 'unavailable') | map(attribute='entity_id') | list | count }} current_lights_on: friendly_name: Current Lights On - icon: mdi:lamps unit_of_measurement: 'on' value_template: >- {% set lights = [ @@ -72,7 +71,6 @@ {{ lights | selectattr('state','eq','on') | list | count }} first_floor_lights_on: friendly_name: First Floor Lights On - icon: mdi:lamps unit_of_measurement: 'on' value_template: >- {% set lights = [ @@ -89,7 +87,6 @@ {{ lights | selectattr('state','eq','on') | list | count }} second_floor_lights_on: friendly_name: Second Floor Lights On - icon: mdi:lamps unit_of_measurement: 'on' value_template: >- {% set lights = [ @@ -106,7 +103,6 @@ {{ lights | selectattr('state','eq','on') | list | count }} basement_lights_on: friendly_name: Basement Lights On - icon: mdi:lamps unit_of_measurement: 'on' value_template: >- {% set lights = [ @@ -118,7 +114,6 @@ {{ lights | selectattr('state','eq','on') | list | count }} current_fans_on: friendly_name: Current Fans On - icon: mdi:fan unit_of_measurement: 'on' value_template: >- {% set fans = [ @@ -130,7 +125,6 @@ {{ fans | selectattr('state','eq','on') | list | count }} current_outdoor_lights_on: friendly_name: Current Outdoor Lights On - icon: mdi:outdoor-lamp unit_of_measurement: 'on' value_template: >- {% set lights = [ @@ -139,7 +133,6 @@ {{ lights | selectattr('state','eq','on') | list | count }} front_porch_color_temp: friendly_name: Front Porch Color Temp - icon: mdi:palette unit_of_measurement: 'mireds' value_template: > {% if is_state('light.front_porch_light','off') %} @@ -153,7 +146,6 @@ - platform: history_stats name: Basement TV Time - icon: mdi:chart-timeline-variant-shimmer entity_id: media_player.basement_tv state: 'playing' type: time @@ -162,7 +154,6 @@ hours: 24 - platform: history_stats name: Basement TV Chromecast Time - icon: mdi:chart-timeline-variant-shimmer entity_id: media_player.basement_tv_chromecast state: 'playing' type: time @@ -171,7 +162,6 @@ hours: 24 - platform: history_stats name: Living Room TV Time - icon: mdi:chart-timeline-variant-shimmer entity_id: media_player.living_room_tv state: 'playing' type: time @@ -180,7 +170,6 @@ hours: 24 - platform: history_stats name: Living Room TV Chromecast Time - icon: mdi:chart-timeline-variant-shimmer entity_id: media_player.living_room_tv_chromecast state: 'playing' type: time @@ -189,7 +178,6 @@ hours: 24 - platform: history_stats name: Master Bedroom TV Time - icon: mdi:chart-timeline-variant-shimmer entity_id: media_player.master_bedroom_firetv state: 'playing' type: time @@ -198,7 +186,6 @@ hours: 24 - platform: history_stats name: Living Room Xbox One Time - icon: mdi:chart-timeline-variant-shimmer entity_id: media_player.xboxone state: 'playing' type: time @@ -207,7 +194,6 @@ hours: 24 - platform: history_stats name: Outside Lights - icon: mdi:chart-timeline-variant-shimmer entity_id: light.outside_lights state: 'on' type: time