Skip to content

Commit

Permalink
Update power.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Jul 13, 2023
1 parent fb43cb6 commit b28c508
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moonraker/components/power.py
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@ async def _send_power_request(self, state: str) -> str:
async def _send_status_request(self) -> str:
return await self._send_generic_request("status")


# The power component has multiple configuration sections
def load_component(config: ConfigHelper) -> PrinterPower:
return PrinterPower(config)

0 comments on commit b28c508

Please sign in to comment.