mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-29 09:15:55 +00:00
Great Tip from @gabrielemariotti to clean up Template Sensors across the board. #529
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
- platform: template
|
||||
sensors:
|
||||
last_boot_templated:
|
||||
entity_id: []
|
||||
value_template: >-
|
||||
{%- set slb = states.sensor.last_boot.state.split(' ') -%}
|
||||
{%- set count = slb | length -%}
|
||||
@@ -49,7 +50,7 @@
|
||||
value_template: '{{ value }}'
|
||||
|
||||
#############################################################################################################
|
||||
### This part of the automation is hidden due to the IP address exposed ##
|
||||
### This part of the automation is hidden due to the External IP address being exposed ##
|
||||
# - platform: template
|
||||
# sensors:
|
||||
# ipchange:
|
||||
|
Reference in New Issue
Block a user