dylandoamaral / uptime-card

Minimalistic uptime card for Home Assistant Lovelace UI
266 stars 11 forks source link

Don't appear on Iphone 6 #62

Closed hebbister closed 3 years ago

hebbister commented 3 years ago

Hi, if I turn on true to show status, the uptime-card appear on PC, but not visible on Iphone HA app or chrome browser too. uptime-card.zip

dylandoamaral commented 3 years ago

Hi I think this is due to the cache. Wait and I think the card will appear.

hebbister commented 3 years ago

on_iphone on_pc

I do a Reset frontend cache action, but no change, the problem persists.

dylandoamaral commented 3 years ago

I am sorry, I don't have iphone 6 to try it myself, I will let it open but I have no idea how to fix that, I have personally an iphone X and it works well :/.

agneevX commented 3 years ago

@hebbister Can you share your card config?

hebbister commented 3 years ago

Here is,

type: 'custom:uptime-card'
entity: switch.medenceszures
ok: 'on'
ko: 'off'
hours_to_show: 10
bar:
  amount: 60
  spacing: 2
  round: 4
  height: 25
color:
  tooltip: white
  title: light-grey
show:
  header: true
  title: true
  icon: true
  status: true
  timeline: true
  footer: true
  average: true
tooltip:
  hour24: true
  animation: true
alias:
  ok: szűrés
  ko: nincs szűrés
alignment:
  header: spaced
  icon_first: false
  status: spaced
  tooltip_first: false
tap_action:
  action: more-info
title_adaptive_color: false
severity: 100
icon_adaptive_color: false
name: Medence szűrés ideje
status_adaptive_color: false
tooltip_adaptive_color: false

but, I attached it in the first comment.

dylandoamaral commented 3 years ago

Hey @hebbister you still have this issue ?

hebbister commented 3 years ago

@dylandoamaral yes, the problem has not disappeared.

dylandoamaral commented 3 years ago

Did you try with another version of the card ?

hebbister commented 3 years ago

Only with the newest version.

hebbister commented 3 years ago

OK, I tried with v0.3.0, but same problem.

agneevX commented 3 years ago

Are you running the latest versions of iOS and the Home Assistant app?

Also, can this be reproduced in Safari instead of the app?

hebbister commented 3 years ago

iOS 12.5.2, HA app is 2021.4.1 (2021.115), and yes I can reproduce it in Safari and Chrome browser too.

dylandoamaral commented 3 years ago

It is not due to the screen size since I still se my card in an emulated iphone 6 screen: image

And sadly you can't access easily to the console logs :/

hebbister commented 3 years ago

Okay, I think I need to use it without a status indicator, or I have to drop my phone out and buy a new one :)

agneevX commented 3 years ago

It is not due to the screen size since I still se my card in an emulated iphone 6 screen

iOS 12.5.2

It's due to the ancient version of iOS that lacks a lot of new web technologies. iOS 12 is also EOL'd IIRC.