• 1 Post
  • 6 Comments
Joined 1 year ago
cake
Cake day: July 9th, 2023

help-circle

  • TreeGhost@lemm.eetohomeassistant@lemmy.worldUpdating notifications
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 months ago

    I utilize scripts for all of my notification needs. It allows me to utilize logic based around certain criteria, like this on that will only notify family members at home. If no one is home it will wait and notify the first person to show up. This also allows me to be able to quickly toggle notifications for my wife when I’m testing automations with notifications.

    alias: Notify People at Home
    fields:
      title:
        description: The title of the notification
        example: Laundry
      message:
        description: The message content
        example: Washer Finished!
    sequence:
      - if:
          - condition: state
            entity_id: zone.home
            state: "0"
        then:
          - wait_for_trigger:
              - platform: numeric_state
                entity_id: zone.home
                above: "0"
        else: []
      - parallel:
          - if:
              - condition: state
                entity_id: person.bob
                state: home
            then:
              - service: script.notify_bob
                data:
                  title: "{{ title }}"
                  message: "{{ message }}"
          - if:
              - condition: state
                entity_id: person.mary
                state: home
            then:
              - service: script.notify_mary
                data:
                  title: "{{ title }}"
                  message: "{{ message }}"
    mode: queued
    icon: mdi:exclamation-thick
    max: 10
    

  • TreeGhost@lemm.eetoPrivacy@lemmy.mlPDF editor on Linux?
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    8 months ago

    If you are trying to mark something sensitive out, make sure that you are deleting the actual text or convert the PDF to a flat image after. PDFs can store information in text and images, so if you just draw over some text thinking you are marking it out, there is a chance that the mark out is just a image layer sitting on top of the sensitive text. A way to check this is opening the PDF in Firefox after and toggle Reader View (button in the address bar or F9) to see if you can still see to marked out information.