question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No automatic lights

See original GitHub issue

Updated to v2.0.3 but still no automatic lights for living room. Office is working. Bedroom, bathroom are not working.

Here is what I had before config flow:

  living_room:
    icon: 'mdi:sofa'
    presence_sensor_device_class: ['motion']
    automatic_lights:
      entities: 
       - light.fireplace_light
      disable_entity: binary_sensor.living_room_motion_override
    include_entities:
      - binary_sensor.lumi_sensor_motion_living_room
      - light.fireplace_light
      - light.pole_lamp
      - light.living_room_light
      - media_player.living_room_tv

Here is what I see now: image

Here is the config flow setup: image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:36 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
danielbrunt57commented, Feb 3, 2021

Personally, I would define the state more generically as enabled_state with an enable_entity and enable_mode and get way from using ‘Night’ or ‘Dark’ but that’s just my opinion…

Entity used to control area state: State of enable entity:

Then in the area attributes Automatic [enabled|disabled] rather than ‘Automatic lights’ since other features can be controlled (climate, etc.) Enabled [true|false] rather than Night

and while we’re at it, change sleep to accent since an entity has to be defined.
For me, sleep state implies I would be able to have no lighting but that’s not currently the case… Accent [true|false]

0reactions
jseidlcommented, Mar 1, 2021

I did and I believe Entity Controller is the more general use focused component. Magic Areas has area state and presence detection as main focus and actions are features, so features are aimed towards are state rather than being more generic.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why doesn't the automatic headlight work? - Quora
Even if your car comes with automatic headlights, that mode may not be selected as deafault. If they still do not work despite...
Read more >
no automatic headlights ? | Toyota Nation Forum
The lights will come on automatically when it becomes dark and there's no way to turn them off until you shut the engine...
Read more >
Why do some cars with AUTO headlights not turn on the tai...
This system does not turn on the tail lights, and they are dimmer than your normal headlights. You may often see drivers in...
Read more >
No Automatic Headlights - Ridgeline Owners Club
I'm wondering if anyone has heard of a way to make the headlights come on at dust like most other modern cars. I...
Read more >
automatic lights not working : Ford Taurus Electrical and Lights
Multiple owners have reported instances of the automatic headlights not functioning properly. Possible causes are failure of the sunload sensor, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found