Adding some new sensores, removing unused scripts

This commit is contained in:
Jeffrey Stone
2018-03-09 12:25:13 -05:00
parent 9120caf8e0
commit e62b8f3bc7
5 changed files with 3 additions and 41 deletions

View File

@@ -1,26 +1,6 @@
- platform: mqtt
name: "Jeff Destination"
state_topic: "jeff/driving/destination"
- platform: mqtt
name: "Jeff Status"
state_topic: "jeff/location/status"
- platform: template
sensors:
jeff_lstatus:
friendly_name: Jeff is
unit_of_measurement: ''
value_template: >-
{%- if is_state("sensor.jeff_status", "moving") %}
moving
{% else %}
stationary
{%- endif %}
icon_template: >-
{%- if is_state("sensor.jeff_status", "moving") %}
mdi:bike
{% else %}
mdi:map-marker
{%- endif %}
- platform: template
sensors:
family_presence:
@@ -42,4 +22,3 @@
{% else %}
mdi:sync-alert
{%- endif %}