How are cats bad for the environment? Sorry, first time I’ve ever heard someone claim this.
How are cats bad for the environment? Sorry, first time I’ve ever heard someone claim this.
Nothing like exercising your right to protest by infringing on everyone else’s right to travel freely.
Republicans sure do seem to think you have the right to marry who ever you love when it comes to incest and pedophilia but not LGBTQ.
I would be amazed if Gaza still exists when this war is over.
In other news, VPN sales in Texas skyrocket.
And apathy is why so many businesses are getting away with anti consumer practices.
I think you’re missing the point that it is working and they are intentionally breaking it.
Hopefully reddit will keep fucking up and lemmy will grow. I really like it here with no ads but miss feeding my niche interests on the reddit subs. Most have subs here but they are just empty.
He used Cabernet laws to target gay clubs because he’s a homophobic prick.
It’s my understanding that the TB vaccine is not all that effective. You’ll also test positive with TB skin tests for the rest of your life.
Edit: did some looking and it’s pretty effective in babies just not in adults.
After a water heater leak I just made my own. I run my HA on a Raspberry Pi, so I connected the GPIO pins to a current-limiting resistor and some wires that I put in the drip pan of my water heater. I made the two contacts using a screw connector, and hot glued it in the pan. You can also do this with an ESP chip. Additionally, I integrated my smoke detectors through an optoisolator and connected all my hard-wired door and window sensors to the GPIO. It’s been working great this way for me.
I have never heard anyone use the word deplane before I read your comment. I’ve heard disembark plenty, but it’s a little formal usually it’s just get your ass off the plane.
Because you obviously didn’t even bother to read the article.
AnitaB.org, the nonprofit that runs the conference, said there was “an increase in participation of self-identifying males” at this year’s event.
News organizations are typically issued seapenas for specific information because just raiding them and going through everything can reveal sources for unrelated stories. News organizations should have the ability to protect confidential sources if needed. Reason people are saying unconstitutional is because first amendment protects speech and freedom of press.
At least that’s how I understand it but I am not a lawyer.
When I tried playing with omit in the template editor I got an error about omit being undefined so probably not built in. Bummer because that would be a very elegant solution to this. I’m going to put this down for the night and try picking it back up tomorrow. I really appreciate all the suggestions. Hopefully it will lead me to a solution.
It worked the same as your suggestion above. In cases the variable is used it does works as intended but in the situation the variable is not set it’s still sending data: just with a blank value.
To give more context I’m working on a media control dashboard. The script or rather scripts I have to send commands to kodi is as follows
kodi_control:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
kodi_control_playback:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
playerid: '{{ kodi_playerid }}'
kodi_control_subtitles:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
action: '{{ kodi_action }}'
kodi_control_seek:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
playerid: '{{ kodi_playerid }}'
value: '{{ kodi_value }}'
kodi_control_playlist:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
window: '{{ kodi_window }}'
parameters: '{{ [ kodi_parameters ] }}'
I would like to condense all of this down to a single script using “is defined” to omit the parts not needed for certain commands so something like
kodi_control:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data: >-
method: '{{ kodi_method }}'
{% if kodi_playerid is defined %}
playerid: '{{ kodi_playerid }}'
{% endif %}
{% if kodi_action is defined %}
action: '{{ kodi_action }}'
{% endif %}
{% if kodi_value is defined %}
value: '{{ kodi_value }}'
{% endif %}
{% if kodi_window is defined %}
window: '{{ kodi_window }}'
{% endif %}
{% if kodi_parameters is defined %}
parameters: '{{ [ kodi_parameters ] }}'
{% endif %}
Problem with the above is I get “result is not a dictionary”
Is it possible to do this in a way that completely omits data: from the command if the variable isn’t defined?
Thanks for the further explanation. I’m curious how this is handled if products that are banned in California are mailed there from other states. For instance I recently ordered a plexiglass glue and read that if I was a resident of California they would not mail it there due to a chemical in the glue being banned in California. I’m not a lawyer obviously but to me this seems like a very similar legal situation.
Fair enough, but I would compare someone who owns a fat lazy cat to rollin coal assholes.