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

Hive Motion Sensor

$
0
0

@Puntoboy wrote:

I’m struggling with making a automation for my Hive motion sensor. What I want to do is:

Trigger: Motion detected
condition: between sunset-10pm
action: turn on light for 2 minutes. brightness 50%
condition: between 10pm-6am
action: turn on light for 1 minute. brightness 10%

At the moment I start basic and just want to get the light to turn on to a certain brightness.

- id: '1574256582632'
  alias: Landing
  description: ''
  trigger:
  - entity_id: binary_sensor.landing_sensor
    platform: state
    to: 'on'
  condition: []
  action:
  - data:
      brightness: 50
      entity_id: light.landing_lights
    service: light.turn_on

If I trigger the automation manually it works which seems to suggest it’s the trigger that isn’t working.

Posts: 9

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95437

Trending Articles



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