I think OP might just have needed the quotes around the template brackets in the yaml.
For anything important, use matrix instead of lemmy DMs.
I think OP might just have needed the quotes around the template brackets in the yaml.
mTLS is great and it’s a shame Firefox mobile still doesn’t support it.
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
Hmmm if it’s just complaining about expecting a float, you could maybe get away with simply multiplying by 1.0
{{state_attr("light.kitchen_sink_ceiling", "brightness") * 1.0}}
I think… {{state_attr("light.kitchen_sink_ceiling", "brightness") | float}}
also works these days.
My lights return brightness=None when they’re off… and None * 1.0 probably breaks something, so this might be more consistent: {{(state_attr("light.kitchen_sink_ceiling", "brightness") or 0) | float}}
PS: I can’t say much about brightness_pct
, I normally use brightness
instead (0-255).
They can just wait for someone to approve the pull request like everyone one else.
Demon cores aren’t literal.
Way back in the day, developing photo film in the shop’s backstore lab.
The coroner pictures were always… something.
At least the hawking boss would GTFO though, silver linings.
Then again that’s not as bad as being actually there and scooping various stuff.
Presumably, a live baby would move way too much for photogrammetry to be useful.
an ancient card with a colorful box from 3dfx.
I think it was a voodoo 2, but not one that came bundled with creative soundblaster.
Yes, we needed another physical card for sound.
But even my current Xiaomi router with stock firmware creates hash mismatches using apt
That’s a huge fucking red flag and I would yeet any network equipment responsible for fudging such a thing.
vapid mouth breather.
They might be a mouth typer too. The parent comment has words in arranged in a way that vaguely resembles the concept of a sentence.
Évelyne is faily common around here still.
Gilgamesh is one I haven’t heard in a hot minute, not sure about the comeback though.
That one standoff got loose 12 years ago, so none.
Otherwise, it’s all HDMI and DP.
I’m several hours late and the image in the OP is still only partially redacted and still contains enough info IN CLEAR TEXT, for anyone to figure out where you live.
Consider updating the image in the post yourself or asking a local admin for help if required.
Rubbing your own smooth chin after a long time without shaving is so weirdly pleasant even though I can’t find the words to describe the feeling properly.
Not that you should need an excuse, but if you wanted one…
Anytime I clean shaved, it usually genuinely started with me trimming.
But then I take too much on one side, which looks weird and I try to make the other side symmetrical but I take too much there too until it’s unsalvageable and I just give up and shave everything.
Either that or…
“I found a spider in there when I woke up”
I don’t know anyone who would question that logic.
Edit: sorry, I had missed the part about avoiding lies in your first comment.
Tomatoes are already acidic, consider non-lemony tomatoes next time if possible.
As for this batch, both sugar and baking soda works somewhat and you can to both.
A little at a time so you don’t change the taste too much.
Onions are acidic too, but much less so than lemontomatoes, adding a bunch of em to the sauce can help.
If you don’t plan on freezing or canning and you’re just making sauce to put on pasta or something, add cream to it to make a sauce rosée, it’ll mellow the perception of acidity a lot too.
Or use in it a chili where the beans, while not chemically buffering the acidity like baking soda would, can help absorb some of the taste.
Light rain on leaves
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}}"