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

Lock colour should be green #225

Open
paulwarwicker opened this issue Nov 8, 2024 · 7 comments
Open

Lock colour should be green #225

paulwarwicker opened this issue Nov 8, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@paulwarwicker
Copy link

Describe the bug
The icon showing door state should be green. The unlocked door state is correctly shown as red.

Is this working in MySkoda app?*
n/a

Latest working release
New functionality

Debug logs
n/a

Installation:

  • Home Assistant variant: Supervised (Yellow)
  • Python version (when running Core or Supervised) 3.12.3
  • Python library versions ["python3 -m pip list"]

(venv) custom_components # python3 -m pip list
Package Version


aiohappyeyeballs 2.4.3
aiohttp 3.10.10
aiomqtt 2.0.1
aiosignal 1.3.1
anyio 4.6.2.post1
arrow 1.3.0
asyncclick 8.1.7.2
asyncio 3.4.3
attrs 24.2.0
certifi 2024.8.30
charset-normalizer 3.4.0
coloredlogs 15.0.1
freezegun 1.5.1
frozenlist 1.5.0
humanfriendly 10.0
ics 0.7.2
idna 3.10
iniconfig 2.0.0
mashumaro 3.14
multidict 6.1.0
myskoda 0.8.9
orjson 3.10.11
packaging 24.1
paho-mqtt 1.6.1
pip 24.0
pluggy 1.5.0
propcache 0.2.0
Pygments 2.18.0
PyJWT 2.9.0
pytest 8.3.3
pytest_freezer 0.4.8
python-dateutil 2.9.0.post0
PyYAML 6.0.2
requests 2.32.3
six 1.16.0
sniffio 1.3.1
TatSu 5.12.1
termcolor 2.5.0
types-python-dateutil 2.9.0.20241003
typing_extensions 4.12.2
urllib3 2.2.3
yarl 1.17.1

Additional context
image
image

@paulwarwicker paulwarwicker added the bug Something isn't working label Nov 8, 2024
@dvx76 dvx76 added enhancement New feature or request and removed bug Something isn't working labels Nov 9, 2024
@WebSpider WebSpider added the good first issue Good for newcomers label Nov 9, 2024
@WebSpider
Copy link
Contributor

Thanks for the report!

@WebSpider
Copy link
Contributor

It seems that your Door Lock is not active, the Lock button is not pressable. Have you filled in your S-PIN?

@WebSpider WebSpider added need-more-info More information needed and removed enhancement New feature or request good first issue Good for newcomers labels Nov 12, 2024
@paulwarwicker
Copy link
Author

It seems that your Door Lock is not active, the Lock button is not pressable. Have you filled in your S-PIN?

i'm fairly sure it was because the unlocked state was showing red. maybe it wasn't at that time as i was swapping between beta versions. it is definitely set now and the UNLOCK is in HA blue
image

i know you are not looking for like-for-like compatibility with the old integration but i think the icons shown here were all green in the old one
image

@paulwarwicker
Copy link
Author

btw this was from 1.9.1

@dvx76
Copy link
Member

dvx76 commented Dec 1, 2024

Is someone able to confirm if this is still a problem with the latest release?

@paulwarwicker
Copy link
Author

paulwarwicker commented Dec 3, 2024

i need to explain myself better. counters 1 & 2 are fine. my original ask was for counters 3-8 to also be green instead of blue. i can't check, but i think some or most of those were shown green in the old integration, certainly 5-6.
some of these were also shown in red if they were open.
i have since converted from masonry to sections for this page, and i now get a slightly different default layout. if 9-13 could also be somehow shown in green, that would be perfect!
image

@dvx76
Copy link
Member

dvx76 commented Dec 4, 2024

Thanks for all the additional detail! I found home-assistant/frontend#14633 which I think aligns with what you're saying. I would expect HA to automatically handle this based on the state we're setting for the lock entities but maybe we're missing some parameter or hard-coding the color ourselves. Either way, look like it's normal and expected behavior that lock entities have different colors (and icons) based on their state.

@dvx76 dvx76 added enhancement New feature or request and removed need-more-info More information needed labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants