Open Quitsoon opened 1 month ago
J'ai trouvé l'info suivantes :
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0
Common long-deprecated code patterns that may need updating:
Use of enums off the Characteristic class is no longer supported:
Instead of const Units = Characteristic.Units; you will need to use const Units = api.hap.Units;
Instead of const Formats = Characteristic.Formats; you will need to use const Formats = api.hap.Formats;
Instead of const Perms = Characteristic.Perms; you will need to use const Perms = api.hap.Perms;
Characteristic.getValue() has been removed in favour of Characteristic.value
Describe the bug
Bonjour,
je rencontre l'erreur "TypeError: d.getCharacteristic(...).on(...).getValue is not a function" suite à l'essai la version v2.0.0 beta 11 d'homebridge.
Homebridge redémarre en boucle le child bridge. L'initialisation se passe bien, jusqu'à la ligne "Properly loaded XX-accessories"
Le passage à la version 1.8.4 résous le problème
Related hardware
Raspberry pi 4
Logs
Versions homebridge-tydom: v0.25.0