How to notify me when it is raining and the windows are opened?

Did you update the entity IDs to match that of your config?

Looks like you would need the yr weather platform loaded.

A group of all your windows and a notification setup is all required.

Doesn’t - platform: state need to numeric_state?

alias: 'Raining and windows are opened'
trigger:
  platform: state
  entity_id: sensor.weather_symbol
  to: '10'
condition:
  platform: state
  entity_id: group.windows
  state: 'on'
action:
  service: notify.telegram_ihaus
  data:
    title: "Window open"
    message: "raining and the windows are opened"

when I run a hass --script check_config

2017-11-23 13:07:10 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: expected str for dictionary value @ data['trigger'][0]['to']. Got None
extra keys not allowed @ data['condition'][0]['platform']. Got None
extra keys not allowed @ data['condition'][0]['state']. Got None
required key not provided @ data['condition'][0]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/

I change it to:

alias: 'Raining and windows are opened'
trigger:
  - platform: state
    entity_id: sensor.weather_symbol
    to: '10'
condition:
  - platform: state
    entity_id: group.windows
    state: 'on'
action:
  - service: notify.telegram_ihaus
    data:
      title: "Window open"
      message: "raining and the windows are opened"

still throwing an error I can’t work with:

2017-11-23 13:19:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [platform] is an invalid option for [automation]. Check: automation->condition->0->platform. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/

alias: needs to be - alias: then you will need to reformat for 2 extra spaces throughout.

true in general, but when you run a automation: !include_dir_list automation

@Juergen did you give it a try? All my automations are in different files and the all start with a - either - id or - alias.

Your condition should have another condition: line.

alias: 'Raining and windows are opened'
trigger:
  platform: state
  entity_id: sensor.weather_symbol
  to: '10'
condition:
  condition:
    platform: state
    entity_id: group.windows
    state: 'on'
action:
  service: notify.telegram_ihaus
  data:
    title: "Window open"
    message: "raining and the windows are opened"