anotherjulien / MyHOME

MyHOME integration for Home-Assistant
GNU Affero General Public License v3.0
137 stars 58 forks source link

unknown service: myhome.sync_time #82

Open stepir opened 1 year ago

stepir commented 1 year ago

Hi

I had this automation working since ever - but starting after the recent new versions I noticed this popup coming every day. Note that I run it every 4hours but only once it give this error:

MHf454 Timesync uses an unknown service
The automation "MHf454 Timesync" (automation.mhf454_timesync) has an action that calls an unknown service: myhome.sync_time.

This error prevents the automation from running correctly. Maybe this service is no longer available, or perhaps a typo caused it.

To fix this error, [edit the automation](http://192.168.2.242:8123/config/automation/edit/1636144760828) and remove the action that calls this service.

Click on SUBMIT below to confirm you have fixed this automation.

image

any idea why? If I manually run the automation it works:

alias: MHf454 Timesync
description: ""
trigger:
  - platform: time_pattern
    hours: /1
condition: []
action:
  - service: myhome.sync_time
    data: {}
mode: single
sxpert commented 9 months ago

I had something similar with something else when restarting the integration... services will disappear for some time, and if the automation starts right at the wrong moment, it won't be able to find the service.