peterho
(Peter Ho)
May 24, 2020, 8:42pm
22
using any of the examples above, replace the circle-sensor-card entries with state-badge
for example, i changed one of the entries as follows
previously using circle-sensor-card
- type: 'custom:circle-sensor-card'
entity: sensor.airpurifier_lounge_motor_speed
fill: 'rgba(0,0,0,0.3)'
font_style:
color: white
gradient: true
max: 350
min: 0
show_card: false
stroke_width: 10
stroke_color: '#ff03c9'
style:
top: 35%
left: 15%
height: 40%
width: 40%
font-size: 90%
changed to this
- type: state-badge
entity: sensor.airpurifier_lounge_motor_speed
title: Fan1
tap_action:
action: more-info
style:
top: 35%
left: 15%
height: 40%
transform: 'translate(-50%,-50%) scale(0.85,0.85)'
1 Like
Thank you @peterho ,
In the meantime Iāve modified the @gh0s7 Lovelace card, adapting it to my pre-existent configuration (sensors, switch, inputs, automations by @MickL ).
Mine works fine with dark theme background.
Here you can find all the files
My first Github repository
Enjoyā¦
1 Like
peterho
(Peter Ho)
May 26, 2020, 9:25am
24
As a side note all
I have just updated to haas V0.110.2, and the circle-sensor-card āappearsā to be working again
I do however still see the error in the home-assistant.log as follows
2020-05-26 19:35:48 ERROR (MainThread) [frontend.js.latest.202005194] http://redacted:8123/hacsfiles/circle-sensor-card/circle-sensor-card.js:76:79 Uncaught TypeError: Cannot read property 'state' of undefined
Itās ok now. Since 0.110.3 update the card is repair
1 Like
joiboi
June 23, 2020, 4:23am
26
'Using Hassio 0.111.4, the custom card ācircle-sensor-cardā stopped working ,
Using the following fix suggested by @heymoe fixed the issue
opened 02:52PM - 22 May 20 UTC
Hi, from HA version 0.110 i got this error
Cannot read property 'states' of undefined
pkmcnc
(Andrew)
July 20, 2021, 12:05pm
27
Hi!
Anyone has a card for Mi Fresh Air Ventilator (dmaker.airfresh.t2017)?
Thanks
I know this is an older post but just curious how did you connect this to HA? Iām hoping you donāt say bridge LOL I see thereās an integration in HACS for thisā¦ overall how happy are you with this?
Iām looking into replacing an old one that I have.
Thank you!