Lompi
Lompi
@Koenkk works correctly before extracting part of the code related to `preset` and `system_mode`. So the problem is in the data converter. As I told in my PR, js is...
@PrzemsiMat With these changes, the `preset` changes but the `system_mode` does not change. Currently working on a fix.
I created PR to fix this problem https://github.com/Koenkk/zigbee-herdsman-converters/pull/6819.
Maybe the option to resolve that will be to remove `readonly` from the property. Now it's impossible to set the `MockClock` object in tests without replacing the constructor argument (as...
In that case, I think it should be possible to override the `$now` property in `MockClock` object. In integration tests, when we test a specific service and want to simulate...
You are right- my mistake.