Hi,
I’m new to home automation, so I’m not sure if this is an actualy documentation bug or not:
I want to trigger the Flux Light Adjustment switch through an Automation, but when I use this service:
service: switch.flux_update
IT says that the service switch/flux_update is not found. However this seems to work.
service: switch.fluxer_update
Here is my config file:
switch:
platform: flux
lights:
- light.bedroom
name: Fluxer
start_time: '7:00'
stop_time: '23:00'
start_colortemp: 4800
sunset_colortemp: 2700
stop_colortemp: 2450
brightness: 255
mode: mired
# automation rules
automation:
alias: Flux Every 30 Min
initial_state: True
hide_entity: False
trigger:
platform: time
minutes: 30
seconds: 0
condition:
condition: and
conditions:
- condition: state
entity_id: light.bedroom
state: 'on'
- condition: time
before: '21:00:00'
after: '07:00:00'
action:
service: switch.fluxer_update
I’m, using Home assistant 0.35