Flux Light service name change?

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

The service name is generated based on the name of the switch: name + '_update'

It would also be great if you can help update and improve the documentation. In the upper right corner of any documentation page, you will find “Edit this page on GitHub”. Follow the link and submit your suggested change. Demonstrated here: https://youtu.be/dRfk9JAlPJk?t=1h16m17s

Edit: You can also find a list of all your services here: your_ip:8123/dev-service

1 Like