InEnduringGrowStrong

joined 1 year ago
MODERATOR OF
[–] InEnduringGrowStrong 12 points 3 weeks ago (1 children)
[–] InEnduringGrowStrong 3 points 3 weeks ago

shitty photoshop

One could even call it a shit post

[–] InEnduringGrowStrong 3 points 3 weeks ago (1 children)

When it outgrows the peanut butter pot you can transplant it into an orange juice jug and convince people that's why it tastes like this.

[–] InEnduringGrowStrong 7 points 3 weeks ago

There's some sort of perpetual war going on in my yard.
I mix of mint and oregano who compete for the same spot.
It is like watching a duel of immortals.

[–] InEnduringGrowStrong 3 points 3 weeks ago (1 children)

Ideally, your vote shouldn't depend on what you're told by pollsters

[–] InEnduringGrowStrong 25 points 3 weeks ago (2 children)

I predict someone will win this election.

[–] InEnduringGrowStrong 7 points 3 weeks ago

40 minutes, once, in 2015, Canada.

Usually, 2-5 minutes.

[–] InEnduringGrowStrong 6 points 3 weeks ago (1 children)
[–] InEnduringGrowStrong 2 points 3 weeks ago

If OP somehow needs to translate between beignes and brightness_pct.
Probably something like this:

brightness: "{{state_attr('light.kitchen_sink_ceiling', 'brightness') | float(0) /255*100}}"
[–] InEnduringGrowStrong 2 points 3 weeks ago

I think OP might just have needed the quotes around the template brackets in the yaml.

[–] InEnduringGrowStrong 4 points 3 weeks ago

mTLS is great and it's a shame Firefox mobile still doesn't support it.

[–] InEnduringGrowStrong 1 points 3 weeks ago* (last edited 3 weeks ago)

Oh.. I think you also need double quotes around template brackets when used as the value in a service call..? Which conflicts with the quotes around the entity and attribute so just use single quotes there.

brightness_pct: "{{state_attr('light.kitchen_sink_ceiling', 'brightness')}}"

Just whipped up a partial example with my living room lights. It is missing a trigger and an else butI focused on theactionyou had trouble with.
Using brightness instead of brightness_pct seemed simpler. (Or at least if both can usethe same attribute...)

alias: Example
description: ""
trigger: []
condition:
  - condition: state
    entity_id: light.living_room_floor_lamp_1
    state: "on"
action:
  - action: light.turn_on
    metadata: {}
    data_template:
      brightness: "{{state_attr('light.living_room_floor_lamp_1', 'brightness')}}"
    target:
      entity_id: light.living_room_floor_lamp_2
mode: single
view more: ‹ prev next ›