sebk-666
(Sebastian)
1
Hi,
I have two zones defined, ‘Home’ and ‘Work’.
zone:
- name: Home
[...]
- name: Work
[...]
All devices at home show up as “home
” (lowercase “h”); devices at work show up as “Work
” (capital “W”).
Where is that inconsistency coming from?
Sebastian
I think even if you have Home set as a zone the default overrides it., same with “not home”
I think it is because home / not_home are statuses, any other zone you define is just information.
jono
(Jono)
7
This used to really bug me too. I have some template sensors (with help from someone else on this forum) that make everything Title Case:
sensor:
- platform: template
sensors:
jonos_iphone_location:
value_template: '{{ states("device_tracker.jonos_iphone")|replace("_"," ")|title }}'
sebk-666
(Sebastian)
8
Thanks for that!
For now, I just renamed my “Work
” zone to “work
” - I’ll see next week if that at least brings some consistency…
Sebastian