-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplates.yaml
19 lines (16 loc) · 924 Bytes
/
templates.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sensor:
- name: "Jag Distance to Service"
icon: "mdi:wrench"
state: "{{ state_attr('sensor.jag_all_info', 'core status').extKilometersToService | int}}"
unit_of_measurement: km
state_class: measurement
availability: "{{ state_attr('sensor.jag_all_info', 'core status').extKilometersToService | int('unavailable') is number}}"
- name: "Left Front Yard Next Watering"
icon: "mdi:water-outline"
state: "{{ as_timestamp(states('sensor.left_front_yard_next_cycle')) | timestamp_custom('%m/%d/%Y %H:%M%p' ) }}"
- name: "Right Front Yard Next Watering"
icon: "mdi:water-outline"
state: "{{ as_timestamp(states('sensor.right_front_yar_next_cycle')) | timestamp_custom('%m/%d/%Y %H:%M%p' ) }}"
- name: "Flower Beds Next Watering"
icon: "mdi:water-outline"
state: "{{ as_timestamp(states('sensor.flower_beds_next_cycle')) | timestamp_custom('%m/%d/%Y %H:%M%p' ) }}"