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

Sensor.dark_sky_precip_probability

$
0
0

@Ricardo_Domingos wrote:

Hello All,
I am using dark_sky_precip_porbability sensor in an automation to inform when I need to take an umbrella.
The problem is that the automation is not following the rule of the trigger and it is sending messages out of context.

Today my telegram received the following message by HA:
"Do you take an umbruella?
 The possibility of rain is : 0"

But the trigger is probability of rain above 60.
How can I fix it?


My automation:



#######################################################
- alias: Rainy Day use an umbrella
#######################################################
  trigger:
    - platform: numeric_state
      entity_id: sensor.dark_sky_precip_probability
      above: 60
  condition:
    - condition: time
      after: '05:30:00'
      before: '00:00:00'
  action:
    - service: telegram_bot.send_message
      data:
        title: Pegou o guarda chuva?
        message: "Possibilidade de chuva é de: {{ states('sensor.dark_sky_precip_probability') }}"
    - service: script.alexa_annouce_tts
      data:
        message1: 'Home automation message: I strongly suggest that you take an umbrella! High possibility of rain!!'

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>