Issues with old config now updating

No, do this:

Ok interesting, that has helped as now im only getting one error.

Logger: homeassistant.config
Source: config.py:454
First occurred: 9:40:03 AM (2 occurrences)
Last logged: 2:02:53 PM

  • Invalid config for [automation]: Service notify.mobile_app_SM-G973F does not match format . for dictionary value @ data[‘action’][0][‘service’]. Got None. (See /config/configuration.yaml, line 41).
  • Invalid config for [automation]: Service notify.mobile_app_SM-G973F does not match format . for dictionary value @ data[‘action’][0][‘service’]. Got None. (See ?, line ?).

Cheers

This isn’t your service because that’s impossible. Services don’t have dashes in them.

Go to Developer Tools → Services and find the service you want to call in the list. Copy and paste it into your automations.

What service would I call to send notifications to mobile then?

Thakns

I don’t know. Do this and find the service you’re looking for.

I have no idea what services are on your system. They aren’t universal, they are registered based on your config.

Yea nah, I cannot get this to work at all

so ive got

automation:
  - alias: 'tree lamp notification'
    trigger:
      platform: state
      entity_id: binary_sensor.door2
      to: 'open'
    action:
      - service: notify.mobile_app_SM-G973F
        data:
          title: "Lights"
          message: "The tree lamp is on"

in my automations.yaml, but still there is no automation called notify.mobile for SM-G074F

That’s not an automation, that’s a notify service. Your automation is called

automation.tree_lamp_notification.

Have you read the “getting started” documents?

Ok, here in my new automation. I created this using the automation GUI.

- id: '1652614343847'
  alias: New Automation
  description: ''
  trigger:
  - type: opened
    platform: device
    device_id: d940f8a99e2f07a84a1d4e20a3927c96
    entity_id: binary_sensor.door2
    domain: binary_sensor
  condition: []
  action:
  - service: notify.mobile_app_sm_g973f
    data:
      message: yest
      title: test
  mode: single

It still doesn’t work, I can however send a notification to my phone manually with the call service function in developer options.

Any ideas?

Well that looks like a valid service now. And the automation looks valid so I guess you’ll need to clarify what doesn’t work? Like what happens when you open the door? Is there a trace? Are there logs?

Sure, where can I find the logs.

I’ve check in Settings >> System >> Logs but nothing appears in there at all.