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

Missing a style for active Accessory #343

Closed
Caribsky opened this issue Aug 7, 2019 · 6 comments
Closed

Missing a style for active Accessory #343

Caribsky opened this issue Aug 7, 2019 · 6 comments
Labels

Comments

@Caribsky
Copy link
Contributor

Caribsky commented Aug 7, 2019

Describe The Bug:
Missing a style for active Accessory

Expected behavior:

Logs:

Show the Homebridge / Homebridge Config UI X logs here.

Homebridge Config:

Show your homebridge config.json here

Screenshots:
HB-UI-X__2019-08-07__20 08 49

Environment:

  • Node.js Version: 10.16.0
  • NPM Version: 6.9.0
  • Homebridge Version: 0.4.50
  • Homebridge Config UI X Version: 4.5.1
  • Operating System: Docker
  • Process Supervisor: Docker
@Caribsky Caribsky added the bug label Aug 7, 2019
@oznu
Copy link
Member

oznu commented Aug 7, 2019

Which plugin?

Can you right click one of the accessories in the on state and screenshot the characteristics dump shown.

@Caribsky
Copy link
Contributor Author

Caribsky commented Aug 7, 2019

Screenshot of accessory (plugin homebridge-http-switch v0.5.24)

Снимок экрана 2019-08-08 в 2 33 53

Actually, it doesn't depend on plugin. The same problem with other accessories.
I found that CSS class "switch-on" for accessory with state ON is missing in file of styles

@oznu
Copy link
Member

oznu commented Aug 7, 2019

I found that CSS class "switch-on" for accessory with state ON is missing in file of styles

Thanks for the tip. I'll check this out.

@oznu oznu closed this as completed in 6399491 Aug 8, 2019
@oznu
Copy link
Member

oznu commented Aug 8, 2019

Thanks for reporting this @Caribsky,

This is now fixed and will be published in 4.6.0.

I'm waiting on a few things before publishing this build to everyone, but you can install the current beta that includes this fix by running this command via the terminal in the UI (Config UI -> Docker Logo -> Terminal):

npm install -g --unsafe-perm homebridge-config-ui-x@next

Then just restart and refresh the page.

Be aware there are some other changes to accessory control included in the beta / 4.6.0: https://github.com/oznu/homebridge-config-ui-x/blob/master/CHANGELOG.md#next

@Caribsky
Copy link
Contributor Author

Caribsky commented Aug 8, 2019

Thank you @oznu
Just installed next version. Looks good!

ps. Just note... All my rooms have disappeared. All accessories in Default room

@oznu
Copy link
Member

oznu commented Aug 8, 2019

That's to be expected... changelog:

Due to the changes required to identify accessories across multiple instances your room layout will be reset after upgrading

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

No branches or pull requests

2 participants