Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bignumber-card backgound colour on iosipad & chrome dissapears when max value exceeded #7

Open
peterhoe opened this issue Nov 9, 2019 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@peterhoe
Copy link

peterhoe commented Nov 9, 2019

when defined max value in big number card is exceeded, red colour dissapears on ipad chrome browser.

functions as expected on windows 10, android, & macos 10.15.1

affected versions.
IOS 13.2.2
using chrome v 78.0.3904.84

if as per below example max value of 1500 is exceeded, background colour becomes transparent on ios ipad.

If the max value is increased, background colour displays untill max value is exceeded, then background colour becomes transparent

entity entry in ui-lovelace.yaml

- type: custom:bignumber-card
  title: Daikin Load
  entity: sensor.iotawatt_channel_2_acdaikin
  scale: 25px
  from: left
  min: 50
  max: 1500
  severity:
    - value: 50
      style: '#0dff35'
    - value: 620
      style: 'var(--label-badge-blue)'
    - value: 1360
      style: 'var(--label-badge-yellow)'
    - value: 3900
      style: 'var(--label-badge-red)'

resources entry in ui-lovelace.yaml

resources:
  - url: /local/bignumber-card.js?v=1
    type: js

result ios
68534324-69e05800-0387-11ea-98dc-2482abcbbe8c

result win10
big-number-card-win10

@asifma
Copy link

asifma commented Dec 27, 2019

The filling stopped working for me across all browsers.
Im on version: hass.io 0.103.4

@iantrich iantrich added the help wanted Extra attention is needed label Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants