I use the “custom header” because I used the “compact custom header” before. But, do you know if it’s possible to remove the arrows in the header, because, on my phone, I only see 3 icons ( on 7 in all), whereas I could see 5 with the compact custom header (I just had to swip to see the other icons).
can confirm 1.0.8 solves the issue for the bottom view overflowing content.
Still has the odd tab indicator issue though. Indicator remains fixed, when one clicks Overview (from any other tab) or, alternative scenario, one clicks any other left menu-item, and consequently returns to the overview page (which leads to the home page)
though this is indicated to be fixed in 107, it in fact isn’t.
It doesn’t work. I have 2 views with grey header and the other ones are transparent.
mayker
(maykar (pronounced "maker" with a southern accent))
151
Please submit an issue with as much of the requested info as possible. Thank you.
1 Like
mayker
(maykar (pronounced "maker" with a southern accent))
152
That one was probably fine, I just went through your config quickly without testing as I was, and now am again, at work.
The bigger issues were the fact that there were many quotes in the second template that were not needed. I’m not in a position to test the templates (again, sorry), but will when I can. Here is another untested version for you and maybe one of the jinja folks from this thread can chime in.
'0': >-
{%- if is_state('device_tracker.life360_phone1', 'home') and is_state('device_tracker.life360_phone2', 'home') -%}
mdi:account-group-outline
{%- elif is_state('device_tracker.life360_phone1', 'not_home') and is_state('device_tracker.life360_phone2', 'home') -%}
mdi:account-star
{%- elif is_state('device_tracker.life360_phone1', 'home') and is_state('device_tracker.life360_phone2', 'not_home') -%}
mdi:account-tie
{%- else -%}
mdi:alarm
{%- endif -%}
mayker
(maykar (pronounced "maker" with a southern accent))
155
There is currently a bit with transparent headers and panel mode, fix is coming shortly. Just as an FYI. @VDRainer is right though, just use the correct CSS vars
I’d just like to chime in here and say that I also have problems getting any templated icons to work.
I am trying something VERY similar (almost identical) to the home/away thing and can’t get any of the suggestions or my previous attempts to work.
Not trying to apply any pressure1, just another confirmation of difficulties.
note the dash in >- is necessary, to strip a possible newline after the template result, which prevents correct working in CH
example for one of the template sensors:
sensor:
- platform: template
sensors:
presence_icon:
friendly_name: Presence icon
value_template: >
{% set presence = states('sensor.family_home') %}
{% set mapper = {'0':'mdi:account-off',
'1':'mdi:account',
'2':'mdi:account-multiple',
'3':'mdi:account-multiple-check'} %}
{{ mapper[presence] if presence in mapper else 'mdi:account-group'}}
icon_template: >
{{states('sensor.presence_icon')}}
1 Like
mayker
(maykar (pronounced "maker" with a southern accent))
158
Show examples of what you have tried and I (we) can try to help.
mayker
(maykar (pronounced "maker" with a southern accent))
160
I’m going to add a test_template: option in the next release. It will output the template results to your browser’s dev console and will update just like a regular template with entity changes.