I am still having a ton of trouble getting pop ups to work. I have been reading this thread all day and can not get them to work at all. Here is my configuration.yml:
Did you install browser-mod? Check this part of the read me. I missed that at first and couldn’t figure out why the pop-ups weren’t working either.
Edit: Looks like you do have browser-mod installed. Did you restart HA? Only other thing I can think of is did you copy over the popup folder and all the yaml files contained inside it?
Template warning: ‘timestamp_custom’ got invalid input ‘2021-12-12 01:39:16’ when rendering template ‘{% set time = states(‘sensor.samsung_tab_last_app_start’) %} {{ strptime(time, ‘%d/%m/%y %H:%M:%S %p’) | timestamp_custom | replace(’ ‘,‘T’) | as_datetime | as_local }}’ but no default was specified. Currently ‘timestamp_custom’ will return ‘2021-12-12 01:39:16’, however this template will fail to render in Home Assistant core 2022.1
Open the debug of the explorer and see if you have any code errors or something that is not loading and the other is to see the home assistant log to see if there is something that is not loaded or with errors.
Guys just sharing some templating for sidebar for Xbox integration. used @Mattias_Persson lights and devices on/off templating code so i barely know what i did and im surprised that it works hahaha but if anyone can improve or correct code be welcome. unfortunately could not template to show game picture and nothing like that, as game entity doesn’t show picture url…
xbox: |
<b>
{%- set player1_on = states('binary_sensor.player1') %}
{%- set player2_on = states('binary_sensor.player2') %}
{%- set player1_game = states('sensor.player1_status') %}
{%- set player2_game = states('sensor.player2_status') %}
{% if not is_state('sensor.player1_status', 'unknown') %}
{%- if (player1_on | selectattr('state','eq','on')) and (player2_on | selectattr('state','eq','off')) -%}
Player1 is playing {{ player1_game | regex_replace(',([^,]*)$') }}.
{%- elif (player1_on | selectattr('state','eq','off')) and (player2_on | selectattr('state','eq','on')) -%}
Player2 is playing {{ player2_game | regex_replace(',([^,]*)$') }}.
{%- elif (player1_on | selectattr('state','eq','on')) and (player2_on | selectattr('state','eq','on')) -%}
Player1 and PLayer2 are playing {{ player1_game | regex_replace(',([^,]*)$') }}.
{%- endif %}
{%- else %}
<font color='#6a7377'>Nobody is playing...</font>
{%- endif -%}
</b>
I suppose there is no sandbox to develop this UI in? I would like to implement this but do not want to destroy my working dashboard while I get it set up. Any ideas?