You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before submitting a bug report, please follow these troubleshooting steps:
Please confirm that you have completed the following steps:
I have updated to the latest Adaptive Lighting version available in HACS. I'm using latest v1.23.0 as a custom repository with Home Assistant container
Configured using the UI so not sure if I can include config below
light.dining_table_light and light.play_mat_light are controlled by an Adaptive Lighting entry called Dining Room. This has interval=15 and transition=0 because they are IKEA LED2035G10 bulbs. initial_transition=2, take_over_control is on, detect_non_ha_changes is on, only_once is off, adapt_only_on_bare_turn_on is on, separate_turn_on_commands is off, intercept is on, multi_light_intercept is on.
(If using Zigbee2MQTT), provide your configuration files (remove all personal information before posting):
devices.yaml
groups.yaml
configuration.yaml⚠️; WarningREMOVE ALL of the PERSONAL INFORMATION BELOW before posting⚠️;
mqtt: server:
mqtt: user:
mqtt: password:
advanced: pan_id:
advanced: network_key:
anything in log_syslog if you use this
Brand and model number of problematic light(s)
permit_join: false
mqtt:
base_topic: zigbee2mqtt
serial:
port: /dev/ttyUSB0
frontend:
port: 8080
advanced:
homeassistant_legacy_entity_attributes: false
legacy_api: false
legacy_availability_payload: false
log_level: info
device_options:
legacy: false
homeassistant: true
devices:
'0x881a14fffea36817':
friendly_name: Dining table light
'0x881a14fffe142b4c':
friendly_name: Styrbar remote
'0x881a14fffe024356':
friendly_name: Play mat light
'0x54ef441000940c2f':
friendly_name: Dining Room switch
'0x54ef441000b1510f':
friendly_name: Hall stairs switch
'0x30fb10fffed78258':
friendly_name: Kitchen downlight sink L
'0x60b647fffe903d5a':
friendly_name: Kitchen downlight peninsula
'0x30fb10fffe1de15d':
friendly_name: Kitchen downlight sink R
'0x60b647fffe2097bd':
friendly_name: Kitchen downlight fridge
'0x30fb10fffe01079a':
friendly_name: Kitchen downlight centre
'0x54ef441000b794e7':
friendly_name: Utility Room switch
'0x54ef441000b7972a':
friendly_name: Downstairs WC switch
'0x9035eafffed48928':
friendly_name: Kitchen Diner wall control
'0x00158d00087b9f0a':
friendly_name: Emily's Room sensor
temperature_precision: 1
humidity_precision: 1
'0x5cc7c1fffeae4d0a':
friendly_name: Study light
'0x5cc7c1fffeb401f8':
friendly_name: Hall light
'0x54ef441000818da0':
friendly_name: Kitchen counter lights
'0x5cc7c1fffeb3edec':
friendly_name: Bedroom light
'0x5cc7c1fffeb3ee18':
friendly_name: Landing light
'0x5cc7c1fffeb3f1d9':
friendly_name: Music Room light
'0x5cc7c1fffeb401ec':
friendly_name: Music Room dimmer R
'0x54ef441000b79302':
friendly_name: Ensuite switch
'0x5cc7c1fffeae4cf8':
friendly_name: Lounge dimmer R
'0x5cc7c1fffeb401e8':
friendly_name: Lounge main light
'0x54ef441000b79769':
friendly_name: Hall front door switch
state_action: true
'0x54ef441000b79780':
friendly_name: Bathroom switch
'0x8c6fb9fffe1acd69':
friendly_name: Lounge lamp
'0xd44867fffe5aae16':
friendly_name: Hall sensor Front Door
'0xd44867fffe5bd9cd':
friendly_name: Downstairs WC sensor
'0x08ddebfffe6f3710':
friendly_name: Home/away shortcut button
'0x00158d008b115ac6':
friendly_name: 'Ensuite environmental sensor '
'0xd44867fffe5facae':
friendly_name: Hall sensor Lounge door
'0xd44867fffe5facb8':
friendly_name: Hall sensor Kitchen Diner door
'0xd44867fffe5b758f':
friendly_name: Utility Room sensor
'0xd44867fffe5bd67e':
friendly_name: Spare Room sensor
'0xd44867fffe5b6427':
friendly_name: Bedroom window sensor
'0xd44867fffe5faf66':
friendly_name: Landing sensor Emily's Room door
'0xd44867fffe5b642f':
friendly_name: Landing sensor Spare Room door
'0xd44867fffe5b7594':
friendly_name: Kitchen Diner sensor
groups:
'1':
friendly_name: Kitchen downlights
devices:
- 0x60b647fffe903d5a/1
- 0x30fb10fffed78258/1
- 0x30fb10fffe1de15d/1
- 0x30fb10fffe01079a/1
- 0x60b647fffe2097bd/1
availability: false
Problematic lights are IKEA LED2035G10 bulbs.
Describe the bug and how to reproduce it:
I'm using this automation which (amongst other things) should turn off the Dining table light and Play mat light. The device_ids inside the light.turn_off action are for the Dining table light, Play mat light, Kitchen downlights (Zigbee group) and Kitchen counter lights.
alias: Turn stuff off when home status changes to Away or Holiday
description: ""
triggers:
- trigger: state
entity_id:
- input_select.home_status
to: Away
- trigger: state
entity_id:
- input_select.home_status
to: Holiday
conditions: []
actions:
- action: light.turn_off
metadata: {}
data:
transition: 10
target:
floor_id:
- upstairs
area_id:
- downstairs_wc
- hall
- lounge
- study
- utility_room
device_id:
- a524ebd29895be78fe7a69658640e8ff
- 1f5847b349e43c9c3617896684c02665
- 0c9e135a74d58cd74918b73e7f8318e3
- b9a8d49470efa764389f4d1c31ee3892
- if:
- condition: state
entity_id: automation.turn_off_bathroom_fan_automatically
state: "off"
then:
- action: fan.turn_off
metadata: {}
data: {}
target:
entity_id: fan.bathroom_switch_right
- if:
- condition: state
entity_id: automation.turn_off_downstairs_wc_fan_automatically
state: "off"
then:
- action: fan.turn_off
metadata: {}
data: {}
target:
entity_id: fan.downstairs_wc_switch_right
- if:
- condition: state
entity_id: automation.turn_off_ensuite_fan_automatically
state: "off"
then:
- action: fan.turn_off
metadata: {}
data: {}
target:
entity_id: fan.ensuite_switch_right
- action: climate.set_hvac_mode
metadata: {}
data:
hvac_mode: heat
target:
entity_id:
- climate.hall_thermostat
- climate.bedroom_thermostat
- action: climate.set_preset_mode
metadata: {}
data:
preset_mode: away
target:
entity_id:
- climate.hall_thermostat
- climate.bedroom_thermostat
mode: single
As you can see from the Logbook screenshot below (for just the Play mat light to make it easier to read), the light was off at 8:42:17. The automation ran at 08:48:34 but the light was switched on. I then manually turned it off using a Zigbee-bound wall switch at 8:49:13.
Steps to reproduce the behavior:
Start with light off
Run automation
Light turns on when it shouldn't
Possibly related but possibly not…
I note that line 6 onwards of the debug log (Found entity_ids) looks odd because each subsequent area includes the lights from the previous area. Is that intentional and if not could it be related? See:
"No entity_ids or area_ids found in service_data: %s",
service_data,
)
return []
I don't know the code well but on first glance it looks unrelated, but that L2249 should read eids not entity_ids, so that only the entity IDs for the relevant area get logged.
The text was updated successfully, but these errors were encountered:
Home Assistant Adaptive Lighting Issue Template
Bug Reports
If you need help with using or configuring Adaptive Lighting, please open a Q&A discussion thread here instead.
Before submitting a bug report, please follow these troubleshooting steps:
Please confirm that you have completed the following steps:
I'm using latest v1.23.0 as a custom repository with Home Assistant container
Required information for bug reports:
Please include the following information in your issue.
Issues missing this information may not be addressed.
Configured using the UI so not sure if I can include config below
light.dining_table_light
andlight.play_mat_light
are controlled by an Adaptive Lighting entry calledDining Room
. This hasinterval=15
andtransition=0
because they are IKEA LED2035G10 bulbs.initial_transition=2
,take_over_control
is on,detect_non_ha_changes
is on,only_once
is off,adapt_only_on_bare_turn_on
is on,separate_turn_on_commands
is off,intercept
is on,multi_light_intercept
is on.devices.yaml
groups.yaml
configuration.yaml
server
:user
:password
:pan_id
:network_key
:log_syslog
if you use thisProblematic lights are IKEA LED2035G10 bulbs.
I'm using this automation which (amongst other things) should turn off the
Dining table light
andPlay mat light
. Thedevice_id
s inside thelight.turn_off
action are for theDining table light
,Play mat light
,Kitchen downlights
(Zigbee group) andKitchen counter lights
.As you can see from the Logbook screenshot below (for just the
Play mat light
to make it easier to read), the light was off at 8:42:17. The automation ran at 08:48:34 but the light was switched on. I then manually turned it off using a Zigbee-bound wall switch at 8:49:13.Possibly related but possibly not…
I note that line 6 onwards of the debug log (
Found entity_ids
) looks odd because each subsequent area includes the lights from the previous area. Is that intentional and if not could it be related? See:adaptive-lighting/custom_components/adaptive_lighting/switch.py
Lines 2233 to 2257 in ccf4652
I don't know the code well but on first glance it looks unrelated, but that L2249 should read
eids
notentity_ids
, so that only the entity IDs for the relevant area get logged.The text was updated successfully, but these errors were encountered: