XTension 9.5.1 -> Hue interface error

James Sentman james at sentman.com
Fri Feb 3 12:27:56 EST 2023


OK thats frustrating. I must have left it highlighted and then sneezed and deleted it or something, or the cat walked on the keyboard… I’ll fix that and reupload shortly.

> On Feb 3, 2023, at 12:24 PM, Philippe SCHMUCK <philippe-schmuck at orange.fr> wrote:
> 
> I checked the code of the hue2 interface:
> 
> In previous beta (build 1067) we had:
>                         if buttonUnit == None:
>                                 XTension.sendCommand( XTCommand(
>                                         xtKeyCommand    = xtCommandNewUnit,
>                                         xtKeyAddress    = buttonAddress,
>                                         xtKeyName               = f'{self.name} button {buttonSuffix}',
>                                         xtKeyTag                = tagButton,
>                                         xtKeyList               = XTension.interfaceName + ' Units'))
> 
>                         else:
> 
> In latest build 1069:
>                        if buttonUnit == None:
>                                 XTension.sendCommand( XTCommand(
>                                         xtKeyCommand    = xtCommandNewUnit,
>                                         xtKeyAddress    = buttonAddress,
>                                         xtKeyName               = f'{self.name} button {buttonSuffix}',
>                                         xtKeyTag                = tagButton)
> 
>                         else:
> 
> Some code got lost in between.
> 

Thanks,
 James


James Sentman                       http://www.PlanetaryGear.org		http://MacHomeAutomation.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20230203/a7a9663a/attachment.html>


More information about the XTensionList mailing list