mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-11-15 06:38:42 +00:00
Add initial support for H100 and T315 (#776)
Adds initial support for H100 and its alarmmodule. Also implements the following modules for T315: * reportmodule (reporting interval) * battery * humidity * temperature
This commit is contained in:
@@ -581,7 +581,7 @@ async def state(ctx, dev: Device):
|
||||
echo(f"\tHost: {dev.host}")
|
||||
echo(f"\tPort: {dev.port}")
|
||||
echo(f"\tDevice state: {dev.is_on}")
|
||||
if dev.is_strip:
|
||||
if dev.children:
|
||||
echo("\t[bold]== Children ==[/bold]")
|
||||
for child in dev.children:
|
||||
echo(f"\t* {child.alias} ({child.model}, {child.device_type})")
|
||||
|
||||
Reference in New Issue
Block a user