mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-20 04:33:09 +00:00
Adding some new sensores, removing unused scripts
This commit is contained in:
@@ -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 %}
|
||||
|
||||
|
Reference in New Issue
Block a user