Skip to content

Commit

Permalink
Fix install not including many files (#5)
Browse files Browse the repository at this point in the history
* Include enum in installation

* rename device to init for each device
  • Loading branch information
bwrsandman authored May 21, 2024
1 parent 9820068 commit b1f1528
Show file tree
Hide file tree
Showing 37 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,7 @@ dmypy.json

# Pyre type checker
.pyre/
reports/
reports/

# IDE
.idea/
Empty file.
4 changes: 2 additions & 2 deletions midealocal/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ def device_selector(
):
try:
if device_type < 0xA0:
device_path = f".{'x%02x' % device_type}.device"
device_path = f".{'x%02x' % device_type}"
else:
device_path = f".{'%02x' % device_type}.device"
device_path = f".{'%02x' % device_type}"
module = import_module(device_path, __package__)
device = module.MideaAppliance(
name=name,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b1f1528

Please sign in to comment.