enboig

Results 47 comments of enboig
trafficstars

Thanks, I started a topic in forum as it seems it's a "user problem" :-) https://community.openhab.org/t/problem-adding-a-switch-to-a-dimmer/155304

I think there is a bug.... moving the slider does nothing https://community.openhab.org/t/problem-adding-a-switch-to-a-dimmer/155304/9

I posted more data in the forum post. Is it enough? Do you need anything else to investigate the problem?

I agree it could be a breaking change... For now I will create my custom functions `lessThanIfOtherNotEmpty`; next to `lessThanEqualNumberIfOtherNotEmpty` to compare float numbers correctly.

One question about my custom methods is if I should create a class (like does `.validate-lessThanEqual-blur` for each of it). ```js j.validator.addMethod( "lessThanIfOtherNotEmpty", function (val1, element, param) { var target...

I cherrypicked your commit, now test is in.

I added a test, I don't know if something is missing to commit it.

After using a "normalization" it ended in: * If no normalization is used, "10" < "5" => true * If normalization is used to return a Float, method required fails...

Added a test. This could also be added to `equalTo` in `core.js`.