Code Monkey home page Code Monkey logo

Comments (10)

jn3va avatar jn3va commented on September 15, 2024 2

Marco - this is a beautiful and awesome addition to home assistant. Thanks for creating this! I'm leaving this open in case any other questions or comment but can close this in a few days if nothing else. Thanks to you and stinobook for your tips and help!

from swiss-army-knife-card.

github-actions avatar github-actions commented on September 15, 2024

Thank you for creating your first issue for the Swiss Army Knife custom card!

from swiss-army-knife-card.

stinobook avatar stinobook commented on September 15, 2024

Have you tried this ?
image

It's in the app settings under debugging at the bottom

from swiss-army-knife-card.

jn3va avatar jn3va commented on September 15, 2024

Hi Stinobook. The current version of the app doesn't appear to have that option. I deleted the app and re-installed which should do the same as clearing the cache but that did not work. Thank you for the suggestion. I will keep looking!

from swiss-army-knife-card.

stinobook avatar stinobook commented on September 15, 2024

i dont know its in different places because im an admin and the mrs is not or because she has android and i have ios. for me it is hidden here:
menu (where you can select overview, history, ...)
settings (main settings for your HASS server)
companion app
debugging (all the way at the bottom)

For her she has to press menu -> her name

from swiss-army-knife-card.

AmoebeLabs avatar AmoebeLabs commented on September 15, 2024

Resetting the frontend cache after installation and updates is very important. The companion apps caches a lot for performance reasons, but after a software or yaml view update that results in things getting mixed up (old and new definitions and software), and thus crashes.

With every small change I make during development, I have to clear the mobile caches, otherwise I don’t see those changes.

your iPhone should simply work. I can’t test anymore for iOS 15, but it should not crash!

from swiss-army-knife-card.

AmoebeLabs avatar AmoebeLabs commented on September 15, 2024

You must have the following folder in your config:

image

Now try the following to find out if alphabetic order is the problem:

  • rename the folders, and only the folders to the following to force ordering:
    • a-colorstops
    • b-swatches
    • c-derived
    • d-toolsets
    • z-layouts

I already renamed swatches folder to cswatches to fix swatches templates not found.

See if that helps. Don't forget to clear all caches on mobile and desktop browser.

from swiss-army-knife-card.

jn3va avatar jn3va commented on September 15, 2024

This appears to be an iOS issue. I ended up upgrading iOS from 15.5 to 16.5 and now its working. So I assume there was something the previous browser engine in iOS 15 did not support. I don't have all of the folders listed above in templates though (but it's working). I'm missing swatches. I am hoping to get back and design some dashboards this weekend and if any issues I'll check the folders.

from swiss-army-knife-card.

jn3va avatar jn3va commented on September 15, 2024

Resetting the frontend cache after installation and updates is very important. The companion apps caches a lot for performance reasons, but after a software or yaml view update that results in things getting mixed up (old and new definitions and software), and thus crashes.

With every small change I make during development, I have to clear the mobile caches, otherwise I don’t see those changes.

your iPhone should simply work. I can’t test anymore for iOS 15, but it should not crash!

I wanted to mention in case it helps anyone else - you might not always need to reset the front end cache after making a change to a dashboard yaml code. In my config I have
\config\lovelace\views\sak-example-views and in this folder file like view-sake5.yml
The dashboard that references this view is \config\sak-examples-dashboard.yaml

If I make a change to sake5.yml, in order for the change to be seen, just add a couple spaces to any line in sak-examples-dashboard.yaml and then hit refresh on the browser. That should be enough (at least on the desktop) to get it to recognize something new needs to be loaded without needing to clear the browser cache.

from swiss-army-knife-card.

Makhuta avatar Makhuta commented on September 15, 2024

I have similar problem except I am using Android. I tried clearing app and browser cache, even tried full reinstall of both neither of this helped to me.
I am sure that I installed everything right because if I try to comment out the "include" of swiss module in recources it even shows error on PC otherwise not showing any error whatsoever. I am helpless, I tried everything I was able to find most of the things helped in some way but not with the "swiss". Any help will be appreciated.

Home Assistant app version is the latest server version is also latest.
Browser tried (on Android) was Opera and Chrome.
Android version: 9

from swiss-army-knife-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.