arthurdent75 / SimpleScheduler

An Home Assistant AddOn to schedule entities on/off on weekly base
183 stars 36 forks source link

Some warning entries in Supervisor log #121

Closed dragonjon closed 1 year ago

dragonjon commented 1 year ago

Thanks for your work and the new version works great. Thanks, in advanced Jon

I look these entries in Supervisor log, is correct?

23-02-16 10:30:31 WARNING (MainThread) [supervisor.addons.options] Option 'translations' does not exist in the schema for Simple Scheduler (00185a40_simplescheduler) 23-02-16 10:30:31 WARNING (MainThread) [supervisor.addons.options] Option 'components' does not exist in the schema for Simple Scheduler (00185a40_simplescheduler) 23-02-16 10:30:31 WARNING (MainThread) [supervisor.addons.options] Option 'MQTT' does not exist in the schema for Simple Scheduler (00185a40_simplescheduler) 23-02-16 10:30:31 WARNING (MainThread) [supervisor.addons.options] Option 'max_retry' does not exist in the schema for Simple Scheduler (00185a40_simplescheduler) 23-02-16 10:30:31 WARNING (MainThread) [supervisor.addons.options] Option 'details_uncovered' does not exist in the schema for Simple Scheduler (00185a40_simplescheduler) 23-02-16 10:30:31 WARNING (MainThread) [supervisor.addons.options] Option 'dark_theme' does not exist in the schema for Simple Scheduler (00185a40_simplescheduler) 23-02-16 10:30:31 WARNING (MainThread) [supervisor.addons.options] Option 'debug' does not exist in the schema for Simple Scheduler (00185a40_simplescheduler)

arthurdent75 commented 1 year ago

I look these entries in Supervisor log, is correct?

No, it is not.

The options have been moved inside the addon. Your supervisor somehow "remembers" that the addon had options (maybe some cache mechanism) but it is not able to find them anymore. If I have a guess, I think that rebooting your Home Assistant PC (or raspberry or whatever) could clean the cache and remove the warning.

Let me know if it solves this.

dragonjon commented 1 year ago

Thanks for your response. For your information success every 5 minutes. Wen, I reboot Home Assistant no solves this, so I reboot the Raspberry and continue with the warning every 5 minutes. I attach supervisor log, if can help you supervisor_2023-02-16T19-55-34.305Z.log

dragonjon commented 1 year ago

I resolve the enigma with images better..... Captura de pantalla 2023-02-16 220132 Captura de pantalla 2023-02-16 220205 Captura de pantalla 2023-02-16 220624

Wen deletes all the info in yaml file in the config and save and restart de Simple Scheduler all is gone, included the config page. No more warning mensajes in the supervisor log.

Thanks for your time, effort and great work. Jon

arthurdent75 commented 1 year ago

Thank you for your investigation. Glad you solved it!