Default hue brightness

Hi everyone. Please forgive me of this has been asked but I have looked around the forum and I am not able to find an answer.

I have installed hassbian and it detects my hue bridge and 3 lights. The problem I have is my son who is 3 and has special needs after having half of his brain removed to stop seizures is obsessed with turning lights off at the switch and whenever I turn the lights back on they go on full brightness so I have to turn this down using the app. My wife is a non smart phone user now so I need to automate the lights to dim to a certain level after being turned on at the switch

Is there a way to do this with home assistant? If there is please can somebody explain to a noob how to set it up

I appreciate any help

Are your switches smart? If so, you can use that as a trigger. If not, you’d have to use the lights states as a trigger.

No they are not smart switches. Thanks for your reply I will look at triggers to do this

Let me know if you run into issues. I’m no expert, but I may be able to help.

You could try this
Edited the script a bit now it lowers the brightness if the brightness is above 253, when the lights are turned on by the switch it defaults to 255. It still has a delay though not much you can do about that.

# Auto dim light
- alias: auto dim light
  trigger:
  - platform: numeric_state
    entity_id: light.bedroom_desk
    value_template: '{{ state.attributes.brightness }}'
    above: 253
  action:
    - service: light.turn_on
      data: 
        entity_id: light.bedroom_desk
        brightness: 100
1 Like