Three updated files have been added to the Github repository…
The old style sensors have been changed to the ‘new’ template sensors.
As of the date of upload this is untested by me as it is deepest winter so I am not using the package at the moment.
All sensor appear to have been created successfully and the UI appears ‘normal’.
I would be grateful if anyone is using it and can confirm that all is well!
Thanks.
I suggest copying the original package and renaming one with a preceding ‘.’ (fullstop) that way HA will ignore it and you have a very easy fallback should there be something wrong
I have these 3 errors
The legacy platform: template syntax for sensor is being removed. Please migrate irrigation_weather_outlook to the modern template syntax.
Step 1 - Remove legacy configuration
Remove the irrigation_weather_outlook template definition from the configuration.yamlsensor: section.
Note: If you are using sensor: !include <filename>.yaml in configuration.yaml, remove the sensor definition from the included <filename>.yaml.
Ah, yes, I forgot about those as they are outside the package.
I’ve updated mine and will add them to github when I am back at my PC in the next day or two.
I’ve updated the github docs with my version of irrigation_weather_outlook but as the original documentation said it is mine and will not work for you as it is.
I suggest you use the HA repair and replace yours exactly as it describes.
I have added the very simple night_or_day sensor which you can just copy and paste over whatever you currently have.
As for today_high_temp_forecast this will be a sensor that you created based on your choice of weather provider. Again, I suggest you simply follow the HA repair instructions to convert yours to the new format.
Thanks for sorting this out it was a life saver after the new changes, this also gave me time to sort out a few bits that was not showing correctly, and getting my weather outlook sorted which was well over due, but there is one thing that i cant seem to sort out is the start time button for the morning schedule, any ideas what going on with that ?
Hard to say
Is it just the morning zone because that would be even stranger…
I suggest you begin by adding a line show_name: true
and then using that and the existing line show_label: true
to only show one at a time - by changing them to false. The formatting will be wrong but hopefully that will at least point to what is broken and we can take it from there.
Thanks for getting back and i did try that to no avail, i tried a few permutations and in the end by selecting false to all the values at least i could enter to pop up menu and adjust the time, but this means i loose the icon on both morning and afternoon start time, i will have a go in the morning with a clear head and give it another go unless you have any ideas, but thanks for getting back to me.
I’ll try and have a look again.
If it is only the morning schedule my guess would be a typo somewhere in one of your sensor names - but that is a guess.
To be honest I wrote most of this, especially the UI, as a learning exercise and looking at it now there a lot of things I’d probably do differently/better.
I keep thinking I should re-write a lot of it but because it still works well (for me) there is huge inertia fuelled in part by the old if-it-ain’t-broke… maxim.
No worries and i will take a look closer today and also go through my sensors names, and i totally understand where you are coming from, thanks once again for the reply.
update…
After trying lots of permutations to resolve this to no avail to get this solved, i decided to start this from scratch sort of, anyway my thoughts is i think it was a bug on that particular instance of HA, even with the restore / backup i could not resolve it, but adding and restoring bits of back ups finally did the trick, it was along process but worth it having it looking as it should be, once again to Klogg thanks for this intergration as it is also one of my main ones i have and works wonders for my needs.