Schedule temp reading - not working

Hi
Only for a few days I have started playing with Home Assistant, I have previously used Domoticz, but HA gives a lot more possibilities.
I have several temperature sensors, I would like my automation script to send a pushover notification if the temperature in the garage drops below 0 degrees, and send a notification every 60 minutes until the temperature rises.
Unfortunately, my script does not work a request for help in automation :slight_smile:

typ- alias: Temp min
  trigger:
    platform: numeric_state
    entity_id: sensor.sonoff_si7021_temperature
    below: 4
  action:
    - service: notify.pushover
      data:
        message: "Temp below 4"
        title: "Home Assistant"e or paste code here

Make a template binary_sensor that is on when below 4 and off when not:

binary_sensor:
  - platform: template
    sensors:
      temp_min:
        friendly_name: "Temp below 4"
        value_template: >-
          {{ states('sensor.sonoff_si7021_temperature') | float < 4 }}

Make a notifier group

notify:
  - platform: group
    name: my_notify_group
    services:
    - service: notify.pushover

Use the alert integration.

alert:
  min_temp:
    name: Temp below 4
    entity_id: binary_sensor.temp_min
    state: 'on'
    repeat: 60
    notifiers:
    - my_notify_group

unfortunately the configuration given does not work, the error code below

Invalid config for [binary_sensor.template]: expected dictionary for dictionary value @ data['sensors']. Got None
extra keys not allowed @ data['temp_min']. Got OrderedDict([('friendly_name', 'Temp below 4'), ('value_template', "{{ states('sensor.sonoff_si7021_temperature') | float < 4 }}      ")]). (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/template/
Invalid config for [notify.group]: invalid slug notify.pushover (try notify_pushover) for dictionary value @ data['services'][0]['service']. Got 'notify.pushover'. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/group/

The first 2 errors are not present in what I posted. Post what you placed in your file.

Hello
I put all the code in the configuration file. I already have other binary_sensor and notification sensors,
so I put the code below.

Regards!
alert notify template

your spacing is wrong for the sensor template. Compare what I posted to what you have.

I have a notification side error

Invalid config for [notify.group]: invalid slug notify.pushover (try notify_pushover) for dictionary value @ data['services'][0]['service']. Got 'notify.pushover'. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/group/
Invalid config for [notify.group]: invalid slug notify.pushover (try notify_pushover) for dictionary value @ data['services'][0]['service']. Got 'notify.pushover'. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/group/

the script works, I just had to delete group notify. Thank you for your help :slight_smile:

Ah cool, sorry I didnโ€™t get back to you sooner.