Hi all,
first of all I am lovin the project, great work everybody is doing here.
As I just started some weeks ago I realized the number of automations might become very high.
Not sure though how many might be too much for a standard Rpi 3b/4 ?
How many do you guys have, hundreds or thousands?
As I realize, I sometimes have like multiple automations (on, off, some conditions etc.) just for one light with button or so.
So I use “duplcate” and then minimal changes a lot
Therefore one question if something like this is possible:
Example:
I have an automation to turn on a light based on motion → great works.
Now for example I want to turn on with different brighntess depending on day time or night time.
At the moment I have two seperate ones for that, might that be also doable in just one?
alias: light bathroom bright non-night on motion
description: ''
trigger:
- type: motion
platform: device
device_id: 986087a178e56969c9cc712174a8a982
entity_id: binary_sensor.temp_motion_sonoff_2_occupancy
domain: binary_sensor
condition:
- condition: device
type: is_off
device_id: 630546a43e1ee849a57b003fcad631d0
entity_id: light.extended_color_light_1_2
domain: light
- condition: time
after: '06:00:00'
before: '23:30:00'
action:
- service: light.turn_on
data:
brightness_pct: 80
target:
device_id: 630546a43e1ee849a57b003fcad631d0
mode: single
alias: light bathroom low night on motion
description: ''
trigger:
- type: motion
platform: device
device_id: 986087a178e56969c9cc712174a8a982
entity_id: binary_sensor.temp_motion_sonoff_2_occupancy
domain: binary_sensor
condition:
- condition: device
type: is_off
device_id: 630546a43e1ee849a57b003fcad631d0
entity_id: light.extended_color_light_1_2
domain: light
- condition: time
after: '23:30:00'
before: '06:00:00'
action:
- service: light.turn_on
data:
brightness_pct: 25
target:
device_id: 630546a43e1ee849a57b003fcad631d0
mode: single
I found somethling like this, would you recomment do that? Or would you say seperate is also fine?
Big thank you in advance.