pod-point-home-assistant-component icon indicating copy to clipboard operation
pod-point-home-assistant-component copied to clipboard

Support solo 3s images

Open munaaf opened this issue 1 year ago • 4 comments
trafficstars

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is.

The automation uses solo, or solo 3 logos, it would be good if both the entity cards, and entity images, set the logo based on the model, including solo 3s support. I have figured how I can add a new image in static subfolder, but I'm struggling to understand how to change the pod point status entity image which is always using the solo 2

Describe the solution you'd like A clear and concise description of what you want to happen.

Configure pod point status image to support solo 3s universal or tethered

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Screenshot_20240916-031053_Home Assistant

munaaf avatar Sep 16 '24 02:09 munaaf

I figured out it's in entity.py

It seems for my solo 3s UC the model is S7-UC-05xxx

So 05 seems to be model id for the solo 3s

I think we can just add an 05 condition in the if, and add a png file for the solo 3s called uc-05.png

munaaf avatar Sep 16 '24 02:09 munaaf

@munaaf if you want to open a pull request with the changes I'd happily accept it :)

mattrayner avatar Sep 16 '24 09:09 mattrayner

https://github.com/munaaf/pod-point-home-assistant-component/tree/munaaf-solo3s here you go!

munaaf avatar Sep 16 '24 15:09 munaaf

The readme with table of images needs updating, and the which_pod.png ideally updated to include Solo 3S image, I'm a bit weak on photo editing, so will leave that as optional for you to adjust :)

munaaf avatar Sep 16 '24 15:09 munaaf

This update will be rolled into 2.0.6 that I will release shortly

mattrayner avatar Nov 12 '24 13:11 mattrayner