Page 1 of 1

Error because of conversion from WU?

Posted: Sun Jul 14, 2019 12:50 pm
by Different Computers
I have a FW device called Current Conditions, which used to be of type Weather Underground. When I got rid of WU for FW, I edited the Current Conditions device to change its type from Weather Underground to Fantastic Weather.

Now I see this error in the Event Log:

Code: Select all

  Error                           device "Current Conditions" state key currentWeather not defined
Of course there's nothing in settings that would let me remove any state key.

Do I have to delete and add back the device, making it new and fresh as a FW device, to get rid of this error? I'm loathe to do that because there are something like 30 control pages that use the Current Conditions device.

Re: Error because of conversion from WU?

Posted: Sun Jul 14, 2019 2:11 pm
by DaveL17
Yes, FW weather devices don't have a state name 'currentWeather'. In FW, it's called 'summary'. You shouldn't have to delete and recreate the device, but unfortunately you'll have to find the control pages that reference the 'currentWeather' state and change them to 'summary'.

Re: Error because of conversion from WU?

Posted: Mon Jul 15, 2019 5:31 am
by Different Computers
Thanks! That’s easier than what I was planning.

Re: Error because of conversion from WU?

Posted: Mon Jul 15, 2019 5:35 am
by DaveL17
It's still a pain, I know.

In the transition, I took the liberty of correcting a few legacy nits and also tried to align the states with the FW API without being overly dramatic.