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] No call-back when using Number component in HA #255

Closed
leogaggl opened this issue Oct 5, 2024 · 1 comment
Closed

[BUG] No call-back when using Number component in HA #255

leogaggl opened this issue Oct 5, 2024 · 1 comment

Comments

@leogaggl
Copy link

leogaggl commented Oct 5, 2024

Describe the bug
Preface: not 100% this is a bug. Could potentially involve some PEBKAC :-). I have been using Switch and Sensor components quite nicely with ha-mqtt-discoverable (thanks for the excellent work BTW!). But I have been unable to get any callbacks on Number components.

I am not sure if the Number component https://www.home-assistant.io/integrations/number.mqtt/ behaves the same as the Switch in regards to callback.

Has anyone had experience with callbacks on NUMBER? Reading the value from Number object is also quite different.

To Reproduce
The Number components show up in HA (currently as sliders) and work fine. However, there has been no feedback from the Python daemon via MQTT. So any changes in HA are not reflected back to the device.

Expected behavior
The changes on the Number object in HA should be reflected back to the device via the MQTT state?

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Various Ubuntu, RaspiOS (shouldn't matter really
  • Mosquitto:latest (Docker container)
  • Python 3.12
@leogaggl
Copy link
Author

leogaggl commented Oct 5, 2024

I just realised that this seems to be related to: #194

I might close this one as it appears to be due to multiple components rather than the number entity.

@leogaggl leogaggl closed this as completed Oct 5, 2024
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