Skip Navigation

Search

Auto entities further filtering

Hey all! I've been chewing on this problem for a bit and I've hit a wall, I'm hoping someone here can point me in the right direction.

I have an auto entities card populating a series of mushroom chips on the top of my dashboard for stuff like lights on, available updates, and open doors.

The thing is, some of the doors that have sensors on them are open by default, and as a result the chips are there all the time.

Ideally I'd like to have seperate auto entities entries for each group, default open and default closed, but I'd like to keep them in the same card as everything else(they're sorted by time triggered); and I can't for the life of me figure out how to filter out specific entities from a single entry in the include filter. I can exclude something from the whole card, but I haven't found anything that would allow me to just show certain closed doors or certain open ones.

Hopefully this made sense! I appreciate any ideas you have.

EDIT: So I finally got it figured out without futzing with my setup too much, sorry @borebore, I didn't end up going with the template sensor. I ended up finding a python script that allows you to inject custom attributes, so I made an automation that anytime the "normally closed" doors updated their status it'd give them an "is_normally_open: true" attribute and filtered the auto entities chips off of that attribute.

Thanks everyone!

6

Frigate: vertical camera shrinked vertically

Hi all, I'm pretty new to HA and Frigate. When I installed the cameras (they are all vertical, 9:16), they were correct, I could see all the vertical images. Since about a week they are all shrinked in a 16:9 images/videos, even if they are 9:16

Here is my config

```mqtt: host: 192.168.31.5

detectors: # <---- add detectors coral: type: edgetpu device: usb

#go2rtc:

streams:

camera_fronte_ingresso:

- rtsp://127.0.0.1:8554/cam/realmonitor?channel=1&subtype=2

camera_lato:

camera_portico:

log:

exec: trace

objects: track: - person - car - cat - dog - truck

cameras: camera_fronte_ingresso: ffmpeg: inputs: - path: rtsp://USER:[email protected]:554/cam/realmonitor?channel=1&subtype=2 #rtsp://127.0.0.1:8554/camera_fronte_ingresso #rtsp://USER:[email protected]:554/cam/realmonitor?channel=1&subtype=1 input_args: preset-rtsp-restream roles: - detect - path: rtsp://USER:[email protected]:554/live # <----- Add stream you want to record from roles: - record hwaccel_args: preset-vaapi detect: enabled: true # <---- disable detection until you have a working camera feed width: 1280 # <---- update for your camera's resolution height: 720 # <---- update for your camera's resolution record: # <----- Enable recording enabled: True snapshots: # <----- Enable snapshots enabled: True camera_fronte_garage: ffmpeg: inputs: - path: rtsp://USER:[email protected]:554/cam/realmonitor?channel=1&subtype=1 input_args: preset-rtsp-restream roles: - detect - path: rtsp://USER:[email protected]:554/live # <----- Add stream you want to record from roles: - record hwaccel_args: preset-vaapi detect: enabled: true # <---- disable detection until you have a working camera feed width: 1280 # <---- update for your camera's resolution height: 720 # <---- update for your camera's resolution record: # <----- Enable recording enabled: True snapshots: # <----- Enable snapshots enabled: True ```

What the heck is going on? Thanks!

3

How do I set up actionable notifications?

I've been reading through the documentation and looked at several tutorials, but I can't get actionable notifications working.

Here's an example YAML that was originally done in the GUI. It's intented to send an actionable notification with two options, and when you click one, it should send another notification to confirm it worked.

It sends the notification fine, and when I tap the button the wait for trigger section in Home Assistant lights up to indicate that it's been triggered. But nothing further happens.

Any help appreciated!

``` alias: Actionable notification test description: "" trigger: [] condition: [] action:

  • service: notify.notify metadata: {} data: message: Message me? data: actions: - action: ACTION_NOTIFY title: Message me - action: ACTION_IGNORE title: Ignore
  • wait_for_trigger:
    • platform: event event_type: mobile_app_notification_action event_data: action: ACTION_NOTIFY
    • platform: event event_type: mobile_app_notification_action event_data: action: ACTION_IGNORE continue_on_timeout: false timeout: hours: 0 minutes: 0 seconds: 0 milliseconds: 0
  • alias: Perform the action choose:
    • conditions:
      • condition: template value_template: "{{ wait.trigger.event.data.action == \"ACTION_NOTIFY\" }}" sequence:
      • service: notify.notify metadata: {} data: message: Requested message mode: single ```
10