Automation for controlling Ecobee home and away state using life360 for presence detection

Hi, I’m new to Home assistant so please bear with me. I used to use IFTTT and life360 to do the ecobee home and away triggering. Since that is no longer supported, I am transitioning to HA running on a raspberry Pi device. It kind of works in that the ecobee goes to away when one of us leaves but I only want that to happen if both of us are out. So I need to fix that. I’m trying to follow some Reddit posts to do this. One post recommends using an HA group with both devices included in it to keep the ecobee state set to home when only one of us leaves. I’ve tried to follow the documentation for creating a group but get config errors. I’ve tried this in both the groups.yaml and directly in the configuration.yaml. This is what it looks like:
`

Configure a default setup of Home Assistant (frontend, api, etc)

default_config:

Text to speech

tts:

  • platform: google_translate
    group:
    daveandterri:
    name: Dave and Terri
    entities:
    • device_tracker.life360_my_phone
    • device_tracker.life360_wifes_phone
      automation: !include automations.yaml
      script: !include scripts.yaml
      scene: !include scenes.yaml
      `

and here’s the error I get:

Invalid config for [group]: Entity ID Dave and Terri is an invalid entity id for dictionary value @ data'group']['name']['entities']. Got None. (See /config/configuration.yaml, line 8).
Any help would be appreciated

You probably have an indentation issue, but we can’t see because you didn’t format the code properly. See the community guidelines, especially point 11.

thanks, I’ll repost

Should be like this:

tts:
  - platform: google_translate
group:
  daveandterri:
    name: Dave and Terri
    entities:
      - device_tracker.life360_my_phone
      - device_tracker.life360_wifes_phone
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

My issue was with YAML syntaxes. I used tabs instead of double spaces. Thanks for the responses.