Closed erikwachters closed 3 years ago
Yes this is working in 0.117, it was updated for it a few hours ago. The current version that was updated for HA v0.117 is v1.2.7.
Hello,
swipe_nav:
animate: swipe
swipe_amount: 30
Does the resource exist either in ui-lovelace.yaml
or in configuration > lovelace dashboards > resources
?
What device are you using and have you cleared cache?
On iPhone companion app this can be difficult and can require many refreshes of the page. On Android companion app, close app, hold app icon, select app info, select storage & cache, clear cache.
Yes, for iPhone you need to clear the cache in the settings. Then it's working :)
@damanti-me Out of curiosity, is that a setting in the iPhone companion app or is there a place in iPhone settings to clear app cache? Would be useful to know so I can point folks in that direction when needed.
@maykar
edit: i also restarted the app after this
Perfect, thank you!
@maykar was that double-comment on purpose?
What double comment 😜...nope, just poor connection and a itchy trigger finger I guess.
What do yu mean with this:
Does the resource exist either in ui-lovelace.yaml or in configuration > lovelace dashboards > resources?
I use Android & chrome o Windows. I cleared the cache, no joy.
I'm going to assume you're not using YAML mode here:
Go to your sidebar and click on "Configuration", then click on "Lovelace Dashboards", then on "Resources".
Do you see something like this /hacsfiles/lovelace-swipe-navigation/swipe-navigation.js
in there?
If not, then click the plus icon, add /hacsfiles/lovelace-swipe-navigation/swipe-navigation.js
in the URL field and hit "create".
HACS should automatically do this for you, but there have been occasions where it has not.
I'm going to assume you're not using YAML mode here:
I'am in yaml mode. :)
I added this to my recources, correct?
That's the right resource and just in case, how to add resources in yaml mode:
https://www.home-assistant.io/lovelace/dashboards-and-views/#adding-more-dashboards-with-yaml
Then in top right menu while on a lovelace page select "Reload resources"
Got it. For some reason I put the resources section in the lovelace.yaml iso configuration.yaml and that did the trick. Strange that this is the first time I have troubles with this.
Anyway, thanks for the support!!
I can't get it to work in v117. I've did a copy paste of the example but nothing happens.