Comments (10)
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.
Thank you for creating your first issue for the Swiss Army Knife custom card!
from swiss-army-knife-card.
It's in the app settings under debugging at the bottom
from swiss-army-knife-card.
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.
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.
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.
You must have the following folder in your config:
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.
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.
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.
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)
- Refactor state building (states, animations) and state display (localization, specifics) HOT 2
- Live Update of Entities HOT 3
- e.toLowerCase() is not a function HOT 8
- refactor: Remove custom-card-helpers HOT 1
- refactor: Refactor icon state building HOT 1
- Add Sparkline Graph tool HOT 10
- usersvg - png - animations not beingapplied HOT 17
- After updating to v2.5.1 my buienradar integration gives an error "Cannot read properties of null (reading 'toString') HOT 1
- Error : i.setConfig is not a function HOT 19
- Own toolset template not working HOT 1
- Add Progress Bar based on path tool HOT 1
- Cannot read properties of undefined (reading 'template')
- Safari 17 has scale and rotate issues
- scaling not working on mobile (android) HOT 1
- the ">" and ">=" operator gets ignored HOT 3
- "Null" attributes throw and error (and do not load card) HOT 1
- To make support for the type of user action "hold_action" HOT 3
- Feature: Refresh SVG on animation/time/state/... HOT 1
- Can't use notify service because of entity_id being added HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiss-army-knife-card.