-
Notifications
You must be signed in to change notification settings - Fork 80
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
Tap Action to switch between daily and hourly forecasts #490
Comments
You can do this by creating 2 cards (Daily, Hourly) both with a tap action to toggle an input_boolean, and then use the visibility conditions to control each card. |
I have been trying to assign a tap action to this card myself, but i can't make it work. |
I got tap action to work for me. |
It didn’t work for me when trying that is why I was here asking for a solution as I had the same idea you had. If you don’t mind sharing, what is the yaml that you used for the card to get it working? |
Ok so I got this to work with the following YAML and an input_boolean - thanks for the suggestion LGH.
|
Glad you got it working.... I thought I had attached some sample code for you, but obviously I didn't.... apologies |
thanks for the example, i now see where i went wrong. |
It would be great to be able to tap the card and switch between the daily and hourly forecast data, I tried to implement a tap action on the card to trigger a sensor but the tap action was not overriding the default.
Perhaps it could be possible to build in to the core of the card the ability to receive the hourly and daily data feeds with as tap on the card allowing you to switch from daily to hourly forecast data.
The text was updated successfully, but these errors were encountered: