I donât use browser_mod myself, and havenât actually tested it for a very long time.
Itâs quite possible that something has broken about the hack that makes - this work.
You could try deviceID: this instead, until I have time to fix it. Thatâs a bit more stable.
One of the android app on a tablet doesnât seem to be working. When I do browser_mod.debug from the developer tools from my PC browser, my PC browser and mobile phone (android app) will get a popup with the device ID.However on the tablet (android app) nothing is popping up. When I go into the developer tool on the tablet (Android App), and do browser_mod.debug it will cause the popup to showup on every other device except for the tablet. Iâve tried reinstalling the app, clearing the cache and data but nothing seems to be working.
The only working thing is that if I use a browser(firefox) on the tablet will I see a popup.
Other notes: Android app is using the most up to date app, Tablet android OS: Android 7.1.1
Does anyone have any solution to the problem of the android app not showing a device id popup when I do browser_mod.debug ?
Thanks!
This tablet did not have chrome browser installed, which made the app not work with browser_mod. After enabling it I can see the deviceID now.
I am still struggling with the device id displayed in fully kiosk browser being different to the device id for it shown in Home Assistant. When I clear the cache on fully kiosk browser the device id changes within Home Assistant. Does anyone else have this problem?
Is there a way to have a popup card close automatically after seconds of no activity.
Use case is Iâm using popup-light-card to dim lights, if the popup is left open and thereâs been no activity on the popup Iâd like to automatically close it.
Thanks, I read the docs, but no. The time parameter pops up a card after a set time, which is cool, but not what Iâm trying to do. Iâm trying to close a popped up card after seconds of no mouse/tap activity. Hereâs the config I tried:
Thereâs no way of acomplishing this with browser_mod alone. You can send a browser_mod.close_popup command from the backend after a set time, and keep track of interactions some other way.
Hello, thank you again for this amazing component.
Recently, after upgrading from 109 to 112, my Chrome browser on Mac (Iâve tested this with firefox as well) has to be refreshed manually every time HA is restarted in order for the browser_mod entities to show up. This issue doesnât occur on my 2 fire tablets running Fully Kiosk browser - the browser_mod entities are there after HA restart, without issue.
Any ideas why the refresh is suddenly required?
Browser_mod was PERFECTLY before the upgrade (and still is other than that 1 issue)
EDIT Ignore this. Obviously this can be achieved with hui-element and conditional cards.
Another question but I might have reached the limits of what is possible?
(And also this might actually be a lovelace_gen issue?)
I have a popup with an input_select.
I want to display different entities in the popup based on the state of the input select.
I can do that and it works well but I really need to also base those entities on a passed variable. That is the part I cannot get working.
Everything displays correctly until I use a passed variable then the popup doesnât change what is shown when I change the selection in the input select. If I hard code the variable, it works.
(And obviously next time I open the popup it is correct, it is just not dynamic).
Is this possible to achieve?
Thanks
Here is the relevant code:
- entity: input_number.irrigation_cycle{{ cycle }}_start_time_sunrise_offset
name: Offset in minutes
style: >
:host {
{% raw %}
{% set cycle = {% endraw %} {{ cycle }} {% raw %} %}
{% set type = states('input_select.irrigation_cycle' ~ cycle ~ '_start_time_type') %}
{% if type != 'Sunrise Offset' %}
display: none;
{% endif %}
{% endraw %}
}
For reference here is the code that works:
- entity: input_number.irrigation_cycle1_start_time_sunrise_offset
name: Offset in minutes
style: >
:host {
{% raw %}
{% set type = states('input_select.irrigation_cycle1_start_time_type') %}
{% if type != 'Sunrise Offset' %}
display: none;
{% endif %}
{% endraw %}
}
Hi, I think this may have been addressed in the past, but, I was unable to find a solution. Trying to trigger a markdown card in an automation as follows â it pulls up, but I get a red card with error âCustom element doesnât exist: hui-markdown-cardâ
Iâm on HA 0.112.4, Browser_mod: release 29. Trying to pull up on recent android tablet and I have deleted my cache.