Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.hunterdouglas_powerview.shade_data Namespace Reference

Classes

class  PowerviewShadeData
 

Functions

ShadePosition copy_position_data (ShadePosition source, ShadePosition target)
 

Variables

list POSITION_FIELDS = [field for field in fields(ShadePosition) if field.name != "velocity"]
 

Detailed Description

Shade data for the Hunter Douglas PowerView integration.

Function Documentation

◆ copy_position_data()

ShadePosition homeassistant.components.hunterdouglas_powerview.shade_data.copy_position_data ( ShadePosition  source,
ShadePosition  target 
)
Copy position data from source to target for None values only.

Definition at line 16 of file shade_data.py.

Variable Documentation

◆ POSITION_FIELDS

list homeassistant.components.hunterdouglas_powerview.shade_data.POSITION_FIELDS = [field for field in fields(ShadePosition) if field.name != "velocity"]

Definition at line 13 of file shade_data.py.