aderusha / HASwitchPlate

LCD touchscreen for Home Automation
MIT License
732 stars 128 forks source link

HA Invalid config on platform: time_pattern #49

Closed xenio closed 5 years ago

xenio commented 5 years ago

I am using Hass.io and after the command from cli, the package was created but now I am getting an error on the configuration.yml

Invalid config for [automation]: Invalid platform specified @ data['trigger'][0]. Got None. (See /config/configuration.yaml, line 807)

HA v. 0.84.6 Any help?

Edit: The error came from this file: p2_clock on platform: time_pattern

aderusha commented 5 years ago

That sadly is the result of breaking changes introduced in Home Assistant version 0.86. Specifically, the time component which we use in several automations has been renamed to time_pattern.

You can either upgrade Home Assistant, or run deployhasp-pre086.sh instead of deployhasp.sh to setup your existing installation. Note that using the earlier version will break once you upgrade past 0.86.

If this is annoying to you (it's hugely annoying to me), I recommend voicing your thoughts on the thread here.

xenio commented 5 years ago

Ok thanks, I just fixed the time/weather tracking back the changes in the latest commit. I'll check my settings and I'll update. Thanks.

aderusha commented 5 years ago

Updated automations available in latest HASP release