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

Configured icon is being overwritten #42

Open
golles opened this issue Jun 29, 2021 · 0 comments
Open

Configured icon is being overwritten #42

golles opened this issue Jun 29, 2021 · 0 comments

Comments

@golles
Copy link
Contributor

golles commented Jun 29, 2021

Hi, I migrated my config to support the new version and I'm now using icons in the yaml (before I did by customizing).

I copied Lifeliner config from an other issue (it flies over my house quite often) and just noticed that the helicopter icon changed into an ambulance.

config:

  - platform: p2000
    name: P2000 Lifeliner 1
    icon: mdi:helicopter
    regios: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25
    capcodes: 0120901
    scan_interval: 60
    nolocation: True

State:

state: A1 (MKA 12 NH) 13991 Bosboom Toussaintlaan Heemstede Rit 60041
longitude: 4.62169
latitude: 52.34256
distance: 26998
capcode: '0120901'
regio: '13'
regio name: Amsterdam Amstelland
discipline: Ambulancediensten
time: '2021-06-29T14:00:58'
attribution: P2000 Livemonitor 2021 HomeAssistant
friendly_name: P2000 Lifeliner 1
icon: mdi:ambulance

I personally find if an icon is defined, it should not get overwritten. Hence this bug report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant