Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Light turns off when light control is turned off #420

Open
4 tasks done
VPelt opened this issue Sep 30, 2024 · 3 comments
Open
4 tasks done

[Bug]: Light turns off when light control is turned off #420

VPelt opened this issue Sep 30, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@VPelt
Copy link

VPelt commented Sep 30, 2024

System Health details

System Information

version core-2024.9.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.31-haos-raspi
arch aarch64
timezone Europe/Amsterdam
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.1
Stage running
Available Repositories 1497
Downloaded Repositories 51
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Easee EV Charger
component_version 0.9.61
reach_easee_cloud ok
connected2stream true
Home Assistant Supervisor
host_os Home Assistant OS 13.1
update_channel stable
supervisor_version supervisor-2024.09.1
agent_version 1.6.0
docker_version 26.1.4
disk_total 234.7 GB
disk_used 40.6 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi5-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.4.1), Advanced SSH & Web Terminal (19.0.0), Node-RED (18.0.5), JupyterLab (0.15.3), Spotify Connect (0.13.0), Studio Code Server (5.16.0), Vaultwarden (Bitwarden) (0.23.0), SAIC MQTT Gateway (Python) (0.6.3), Nginx Proxy Manager (1.0.1), Matter Server (6.5.1), AppDaemon (0.16.7), Epic Games Free (debian-2024-09-24), thesillyhome addon cloud (0.0.2-alpha), EMHASS (0.10.6), Glances (0.21.1), InfluxDB (5.0.0), Git pull (7.14.1), openWakeWord (1.10.0), Piper (1.5.2), Whisper (2.1.2), Grafana (10.1.1), MQTT IO (0.4.0), MQTT Explorer (browser-1.0.3), Let's Encrypt (5.2.1), Get HACS (1.3.1)
Dashboards
dashboards 12
resources 18
views 19
mode storage
Miele
component_version 2024.8.1
reach_miele_cloud ok
Recorder
oldest_recorder_run September 21, 2024 at 3:34 PM
current_recorder_run September 30, 2024 at 12:51 PM
estimated_db_size 2463.31 MiB
database_engine sqlite
database_version 3.45.3
Solcast PV Forecast
can_reach_server ok
used_requests 5
rooftop_site_count 1

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Lights don't seem to turn on

Reproduction steps

  1. Trigger the motion sensor
  2. Walk away

...

Notice that the area state becomes occupied
THe lights do turn off
but are never triggered to turn on

Debug logs

2024-09-30 14:56:19.291 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Sensor 'binary_sensor.iemand_op_de_gang' state: on
2024-09-30 14:56:19.291 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Valid presence sensor found: binary_sensor.iemand_op_de_gang.
2024-09-30 14:56:19.291 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Sensor 'binary_sensor.motion_sensor_pro_motion_sensor_pro_bewegingsalarm' state: on
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Valid presence sensor found: binary_sensor.motion_sensor_pro_motion_sensor_pro_bewegingsalarm.
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: State changed to True at 2024-09-30 12:56:19.292056+00:00
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Current state: {<AreaStates.DARK: 'dark'>, <AreaStates.OCCUPIED: 'occupied'>}, last state: {<AreaStates.DARK: 'dark'>, <AreaStates.CLEAR: 'clear'>} -> new states {<AreaStates.OCCUPIED: 'occupied'>} / lost states {<AreaStates.CLEAR: 'clear'>}
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: States updated. New states: {<AreaStates.OCCUPIED: 'occupied'>} / Lost states: {<AreaStates.CLEAR: 'clear'>}
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Reporting state change (new states: [<AreaStates.DARK: 'dark'>, <AreaStates.OCCUPIED: 'occupied'>]/lost states: [])
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Updating state. (Valid states: on,open,playing)
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Sensor 'binary_sensor.iemand_op_de_gang' state: on
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Valid presence sensor found: binary_sensor.iemand_op_de_gang.
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Sensor 'binary_sensor.motion_sensor_pro_motion_sensor_pro_bewegingsalarm' state: on
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Valid presence sensor found: binary_sensor.motion_sensor_pro_motion_sensor_pro_bewegingsalarm.
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: States updated. New states: [] / Lost states: []
2024-09-30 14:56:19.292 DEBUG (MainThread) [custom_components.magic_areas.base.presence] Gang beneden: Reporting state change (new states: []/lost states: [])
2024-09-30 14:56:19.297 DEBUG (SyncWorker_35) [custom_components.magic_areas.base.presence] Woonkamer: Area state change event not for us. Skipping. (req: gang_beneden}/self: woonkamer)
2024-09-30 14:56:19.299 DEBUG (SyncWorker_35) [custom_components.magic_areas.media_player] Media Players: Control disabled, skipping.
2024-09-30 14:56:19.299 DEBUG (SyncWorker_35) [custom_components.magic_areas.light] All Lights: Area state change event not for us. Skipping. (req: gang_beneden/self: woonkamer)
2024-09-30 14:56:19.299 DEBUG (SyncWorker_35) [custom_components.magic_areas.climate] Thermostats: Control disabled, skipping.
2024-09-30 14:56:19.300 DEBUG (SyncWorker_35) [custom_components.magic_areas.base.presence] Gang beneden: Binary presence sensor detected area state change.
2024-09-30 14:56:19.303 DEBUG (SyncWorker_58) [custom_components.magic_areas.light] Overhead Lights: Automatic control for light group is disabled, skipping...
2024-09-30 14:56:19.303 DEBUG (SyncWorker_58) [custom_components.magic_areas.light] Accent Lights: Automatic control for light group is disabled, skipping...
2024-09-30 14:56:19.303 DEBUG (SyncWorker_58) [custom_components.magic_areas.light] All Lights: Automatic control for light group is disabled, skipping...
2024-09-30 14:56:19.303 DEBUG (SyncWorker_58) [custom_components.magic_areas.climate] Thermostats: Control disabled, skipping.

Diagnostics dump

No response

@VPelt VPelt added the bug Something isn't working label Sep 30, 2024
@VPelt
Copy link
Author

VPelt commented Sep 30, 2024

configuration3
configuration2
configuration1

@VPelt
Copy link
Author

VPelt commented Sep 30, 2024

log card
movement triggered
no movement

@jseidl
Copy link
Owner

jseidl commented Oct 4, 2024

@VPelt I'm renaming this issue to address the remaining issue of lights turning off when light control is not enabled.

@jseidl jseidl changed the title [Bug]: Light not triggering when area state [Bug]: Light turns off when light control is turned off Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants