Open martin3000 opened 1 year ago
This hack fixed it for the moment. I added it to the classes GoodInput, GoodOutputA, Port and ArtIpProgCommand
def __hash__(self): # jms
return hash(123456789)
def __eq__(self, other):
return (
self.__class__ == other.__class__
)
Running HA with python3.11, I get this error. See https://docs.python.org/3.11/whatsnew/3.11.html#dataclasses Maybe adding a __hash__ method will fix it.