Commit 47e8e7c
Tom Lasswell
fix: Clean up unused imports and format code
- Remove unused SEGMENT_MODE_DISABLED import from __init__.py
- Remove unused SEGMENT_MODE_DISABLED import from light.py
- Remove unused enable_segments_old variable from __init__.py
- Fix indentation issue in config_flow.py logging
- Update tests to remove unused CONF_SEGMENT_MODE imports
- Update test expectations for per-device-only configuration1 parent 7af985c commit 47e8e7c
File tree
4 files changed
+10
-25
lines changed- custom_components/govee
- tests
4 files changed
+10
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
260 | 259 | | |
261 | 260 | | |
262 | 261 | | |
263 | | - | |
264 | | - | |
265 | 262 | | |
266 | 263 | | |
267 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
511 | | - | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
512 | 515 | | |
513 | 516 | | |
514 | 517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
498 | 497 | | |
499 | 498 | | |
500 | 499 | | |
| |||
517 | 516 | | |
518 | 517 | | |
519 | 518 | | |
520 | | - | |
521 | 519 | | |
522 | 520 | | |
523 | 521 | | |
| |||
606 | 604 | | |
607 | 605 | | |
608 | 606 | | |
609 | | - | |
610 | 607 | | |
611 | 608 | | |
612 | 609 | | |
| |||
624 | 621 | | |
625 | 622 | | |
626 | 623 | | |
627 | | - | |
628 | 624 | | |
629 | 625 | | |
630 | 626 | | |
631 | 627 | | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
| 628 | + | |
638 | 629 | | |
639 | | - | |
640 | 630 | | |
641 | 631 | | |
642 | 632 | | |
643 | 633 | | |
644 | 634 | | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | 635 | | |
650 | 636 | | |
651 | 637 | | |
652 | | - | |
| 638 | + | |
653 | 639 | | |
654 | 640 | | |
655 | 641 | | |
656 | | - | |
| 642 | + | |
657 | 643 | | |
658 | | - | |
| 644 | + | |
659 | 645 | | |
660 | | - | |
| 646 | + | |
0 commit comments