Set Fluxer to be enabled on start

In my configuration.yml I have

  - name: fluxer
    platform: flux
    lights:
      - light.h801_led_01
    start_colortemp: 6000
    sunset_colortemp: 2700
    stop_colortemp: 2000
    disable_brightness_adjust: True
    mode: mired

and in my customize.yaml:

switch.fluxer:
  friendly_name: Fluxer
  initial_state: on

And yet every time I restart home assistant, fluxer is off…
screenshot-2018-09-06_11-44-24

is there some way to make Fluxer automatically turn on when home assistant starts?

You could use an automation that uses the homeassistant platform trigger for startup to turn it on.

2 Likes

Good idea @Tinkerer That worked - thank you. :slight_smile:

- alias: Enable Fluxer
  trigger:
    platform: homeassistant
    event: start
  hide_entity: True
  action:
  - service: switch.turn_on
    entity_id: switch.fluxer
2 Likes