Iām having the same issueā¦
Experiencing the same here as well, āDeviceIDā: this does not work after update
I am on 0.106.2 and I am still able to thise DeviceID: this
hold_action:
action: {{ hold_action|default('call-service') }}
service: browser_mod.popup
service_data:
title: ' '
large: false
style:
'--ha-card-border-radius': 0vw 0vw 0.8vw 0.8vw
border-radius: 0.8vw
opacity: 0.9
padding-bottom: 50px
overflow: hidden
top: 5px
card: !include
- {{ template_popup | default('../templates/switch_popup.yaml') }}
- entity: {{ entity }}
deviceID:
- this
haptic: heavy
It depends on the parent entity that is used, i think.
I found a workaround for the popups and posted it on github. Not a very refined solution, but it works.
The problem lies with the object (n) being read-only on the deviceID array. The way I got it working was to turn the object into a JSON string and then parse the JSON string back into an object. That removes the read-only constraint and allows āthisā to be properly written to a deviceID.
Check out the GitHub issue for what to do to fix it. Popups no longer work in 0.106 #63
DISCLAIMER: This works in my scenario. I hope it works for everyone, but I only tested a specific scenario.
Worked for me as well, great job!
Worked for me too - thanks!
Thanks for this excellent component! I was hoping to auto-scale the Canvas-gauge-card lovelace card (that can only be sized using pixels) using the information available from Browser_mod about the screen size. Do you have any cunning suggestions on how to pull this of so that my gauges are the correct size for varying screen sizes? (Perhaps Iām overthinking this and there is a simpler way?)
HI Thomas,
of all the integrations in my config, browser-mod is the one that takes the longest time to finish setup. Would this be an expected time, just wondering why that would be so out of the ordinary compared to the other integrations:
2020-03-13 23:35:13 INFO (MainThread) [homeassistant.setup] Setup of domain browser_mod took 169.8 seconds.
if anything, can we do something to speed that up, or, might it be an indicator of other issues.
thanks for having a look,
Any thoughts on this? I would love to be able to access the user name as well as browser-related information in Lovelace templates. Ideal would be display name as well as display dimensions which would allow for calculations based on available space.
By the way: I tried solving it using a combination of card-templater and state-switch but I keep getting: ānested arrays are not supported inside keysāā¦
just to be sure:
are the B-M updates backwards compatible? Still on 106.6, can we update to Browser-mod release 24, or will this cause troubleā¦?
Well I went and made the leap to 107.1 and everything seems to be acting normal except my service: browser_mod.popup calls. When I click on a card linked to that tap_action it displays the following: Custom element doesnāt exist: hui-picture-card.
- aspect_ratio: 0%
camera_view: live
entities: []
gridcol: 2 / 2
gridrow: 2 / 3
image: 'http://xxxxxx.duckdns.org:8083/'
tap_action:
action: call-service
service: browser_mod.popup
service_data:
auto_close: true
card:
image: 'http://xxxxxx.duckdns.org:8083/'
type: picture
deviceID:
- this
- dashboard
style:
align-items: center
display: flex
position: center
width: 85%
title: Front Door
type: picture-glance
EDIT: Nevermind turned out to be an issue with custom cards. Solution can be found here: Lovelace Card Preloader
I am also having this issue with slow startup times from browser_mod.
It is kind of sporadic tho, sometimes it works fine.
I manually added some logging and for me it seems to hang on the loading of sensors.
will try the debug again to see if anything valuable pops up. for now this is always the case:
2020-03-20 11:35:21 INFO (MainThread) [homeassistant.setup] Setup of domain browser_mod took 193.1 seconds.
ā¦
since updating to last HA version, i have an issue with the card:
This is my card :
When i press the card :
suddenly a new entity added that control all lights without a reason and as we see.
there is no entity in my card that control all lights.
code:
lightspopup1white:
card:
type: 'custom:button-card'
color: auto
size: 30%
icon: '[[icon]]'
entity: '[[entity]]'
show_last_changed: true
aspect_ratio: 1/1
show_state: true
name: '[[name]]'
show_label: true
custom_fields:
notification: '[[notification]]'
tap_action:
action: call-service
service: browser_mod.popup
service_data:
title: Lights
style:
background: var(--background-image)
color: AliceBlue
border-radius: 15px
--ha-card-border-radius: 15px
--ha-card-background: '#fff5bc'
card:
type: entities
entities:
- entity: light.corner_living_room_lights
icon: mdi:ceiling-light
- entity: light.bedroom_lights
icon: mdi:ceiling-light
# - entity: light.masterbedroom
# name: Master Bedroom Lights
# icon: mdi:ceiling-light
# - entity: light.xiaomi_philips_smart_led_ball_3
# name: Master Bedroom
# icon: mdi:ceiling-light
- entity: switch.sonoff_100017d309
name: Night Light
icon: mdi:led-outline
- light.gateway_light_04cf8c9829a2
- light.gateway_light_34ce00fa5d87
style: |
ha-card {
--paper-item-icon-color: black;
color: black;
}
Any idea?
i have one more issue that i will upload later with the card since the last update.
i have also updated the card to the latest version using HACS.
Thanks for the help.
Thank you,
Is it possible to use custom entity cards within a popup? See the picture posted undeneath here. Am i doing something wrong or is this just not possible? thanks.
Add show_header_toggle: false
to the popup card config, that fixed it for me.
Hello. This Browser_mod is very good. However I have this problem:
There is a difference in the screen of a Lenovo tb-7504x and Nexus 7 2013.
When I call the popup camera on Nexus 7 it works fine, but on Lenovo it fills the screen (it is not a popup) and it occupies the entire screen and I have to drag the image upwards to see the complete camera.
Probably because of the height of the tablet, is this possible to solve?
Thanks
@thomasloven I really like Browser_mod and have been using the Pop-Up feature for several months. I updated HA to 107 this morning and started having an issue using the Pop-Up with card type āalarm-panelā I get an error in the pop-up indicating āCustom element doesnāt exist: hui-alarm-panel-card.ā
Any suggestions? I loaded the most recent version of Browser_mod this morning and still no success.