Overview
Comment: | Further improved delays |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
989cbde57887bb30056fad32c7d8c29f |
User & Date: | rkeene on 2020-04-28 18:20:33 |
Other Links: | manifest | tags |
Context
2020-04-28
| ||
18:46 | Added README with limited documentation check-in: c50aa58a64 user: rkeene tags: trunk | |
18:20 | Further improved delays check-in: 989cbde578 user: rkeene tags: trunk | |
17:38 | Improved speed and moved unimplemented types out of the main map check-in: f43fef83ae user: rkeene tags: trunk | |
Changes
Modified __init__.py from [ee4a04daf8] to [42d9b40b13].
︙ | |||
446 447 448 449 450 451 452 | 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 | - + - + | self._send_button({'button': "{}_{}".format(button_prefix, final_direction)}) return True def _step_brightness(self, brightness, brightness_min, brightness_max, zone = None): # Select the appropriate zone before sending the steps # to ensure they reach the correct bulbs |
︙ | |||
557 558 559 560 561 562 563 | 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 | - + | return False # If the bulbs do not support color, nothing needs to be done if 'has_color' not in self._config['features']: return False # Turn on the appropriate zone to select it |
︙ | |||
584 585 586 587 588 589 590 | 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 | - + + - - + + - + + - - + + | temperature = self._scale_int(kelvins, temperature_input_low, temperature_input_high, temperature_output_low, temperature_output_high) if 'can_set_temperature' in self._config['features']: return self._set_temperature(temperature, zone) else: return self._step_temperature(temperature, temperature_output_low, temperature_output_high, zone) |
︙ |