Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Doesn't use new home assistant icon #148

Closed
muddro1 opened this issue Jan 4, 2024 · 4 comments · Fixed by #180
Closed

[Bug]: Doesn't use new home assistant icon #148

muddro1 opened this issue Jan 4, 2024 · 4 comments · Fixed by #180
Assignees
Labels
bug Something isn't working

Comments

@muddro1
Copy link

muddro1 commented Jan 4, 2024

Description

Very minor, but for some reason the default home assistant icon the blueprint uses is the old style. I have no idea why it's pulling out the old one instead of the new one. Have no issues with other phone notifications.

Version

12.0.3

Automation Config

alias: "1. Camera: Front Door Notification"
description: ""
use_blueprint:
  path: SgtBatten/Beta.yaml
  input:
    tv_transparency: 0%
    camera: camera.front_door_bell
    base_url: https://xxxxxxxx
    critical: "false"
    alert_once: true
    attachment: snapshot
    channel: Front Door
    zone_filter: false
    url_1: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
    tv_size: large
    tv_position: center
    color: red
    ios_live_view: false
    notify_group: both_phones
    button_2: View Stream
    url_2: >-
      {{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']
      | lower | replace('-','_')}}?token={{state_attr( 'camera.' ~ camera,
      'access_token')}}
    debug: true
    sound: none
    notify_device: f9045f28de5776f3a09a8b982b59141f
    video: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
    update_thumbnail: true
    android_auto: true
    url_3: custom-{{ camera }}
    button_3: Unlock the Door
    custom_action_manual:
      - service: lock.unlock
        metadata: {}
        data: {}
        target:
          entity_id: lock.front_door_lock

Frigate Config

No response

Any other relevant information

No response

@muddro1 muddro1 added the bug Something isn't working label Jan 4, 2024
@muddro1 muddro1 changed the title [Bug]: Does use new home assistant icon [Bug]: Doesn't use new home assistant icon Jan 4, 2024
@chelming
Copy link
Contributor

chelming commented Mar 7, 2024

this is a home assistant bug. if you set the icon to mid:home-assistant it will use the old icon.
Screenshot_20240307-055416

@chelming
Copy link
Contributor

chelming commented Mar 7, 2024

@chelming
Copy link
Contributor

chelming commented Mar 7, 2024

home-assistant/android#4252 (comment)

is there a way to have there be no icon instead of a default?

chelming added a commit to chelming/HA_blueprints that referenced this issue Mar 7, 2024
The home-assistant icon has not been updated and is scheduled to be removed. Sending an invalid icon will cause the app to use the default icon. home-assistant/android#4252

closes SgtBatten#148
@chelming
Copy link
Contributor

chelming commented Mar 7, 2024

submitted a PR. in the meantime, you can add a non-existing icon to have it fall back to the app icon. I changed mine all to mdi:frigate since it doesn't exist.

SgtBatten pushed a commit that referenced this issue Mar 7, 2024
* Update default icon

The home-assistant icon has not been updated and is scheduled to be removed. Sending an invalid icon will cause the app to use the default icon. home-assistant/android#4252

closes #148
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants