rsypen

Results comments of rsypen

I have same issue here. CURRENT, voltage, temperature and energy are not being updated/reported. Power, lqi and switch works. ## Debug info Zigbee2MQTT version: 1.18.2 Adapter hardware: CC2531 Adapter firmware...

I agree, there is no need to rewrite existing XMage desktop client codebase. Did I mention that? 😄

Issues with your approaches: 1. Need to use filter.copy() all around code; **Yes, but it requires changes everywhere + there is possiblity to copy already modified filter...** 2. Somehow "lock"...

Personally I'd go with **Prohibit modifications to Filter classes** because concept of Filter function is that it should not really allow state modifications because making change to Filter gives you...

Got your point, but why not write code like that: private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Ally creatures you control", Arrays.list(new SubtypePredicate(SubType.ALLY)), new ControllerPredicate(TargetController.YOU)); and make all Filter classes...

We can make filter class immutable and add method like: createModificableCopy(): MutableFilter and provide all methods that changes state to MutableFilter class. MutableFilter class will be wrapper for any Filter...

@ingmargoudt, I understand why they were introduced but problem is that you want to have **CONSTANTS**. Static keyword doesn't make underlaying objects immutable and that's the problem. They can be...