Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 100266

Howto use temperature from weather.home as trigger?

$
0
0

@Nick4 wrote:

Hi guys

I am trying to use the outside temperature to close the curtains by using the weather.home entity.
Searching here and in the docs gave me this:

- id: '1590702116486'
  alias: test temp
  description: ''
  trigger:
  - below: '12'
    entity_id: weather.home
    platform: numeric_state
    value_template: '{{ state.weather.home.temperature }}'
  condition: []
  action:
  - data: {}
    entity_id: media_player.1
    service: media_player.media_pause

but that doesn’t seem to work.
Am I missing something/doing wrong?

Thank a lot in advance!
Nick

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 100266

Trending Articles