Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 113168

Automation to turn off brightness

$
0
0

Hi, I am new to HA and I would like to create an automation to turn off auto brightness on my phone. This is just an exercise for this type of automations. It should be quite easy but I can’t get it to work

this is the YAML file of my automation

automation:
  - alias: Turn off automatic screen brightness
    trigger: ...
    action:
      - service: notify.mobile_app_device_m2101k6g
        data:
          message: command_auto_screen_brightness
          data:
            command: turn_off
alias: test_auto_brightness

However, when I save it I get the error:
extra keys not allowed @ data automation

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 113168

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>