Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ data:
- **Cached data** — If your device is offline, the integration will show cached data. Check the "Data Mode" diagnostic sensor to see if data is LIVE, CACHED, or OFFLINE.
- **Stale readings** — Use the "Fetch latest data" button to manually refresh device data.
- **No outside temperature** — Not all devices report outside temperature. Use the "Force outside sensor" option if you want the sensor entity to always appear.
- **Temperature display unit** — Temperature entities report in Celsius natively and follow HA's unit system for display. To show a specific unit, set the entity's display unit in HA or change the HA unit system.

### Energy Sensors
- **Energy data not updating** — Ensure "Enable daily energy sensors" is checked in the integration options. Note that energy data resets daily.
Expand Down
2 changes: 2 additions & 0 deletions custom_components/panasonic_cc/aquarea/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class AquareaSensorEntityDescription(SensorEntityDescription):
device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
suggested_unit_of_measurement=UnitOfTemperature.CELSIUS,
get_state=lambda device: device.temperature_outdoor,
is_available=lambda device: device.temperature_outdoor is not None,
)
Expand All @@ -55,6 +56,7 @@ class AquareaSensorEntityDescription(SensorEntityDescription):
device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
suggested_unit_of_measurement=UnitOfTemperature.CELSIUS,
get_state=lambda device: device.tank.temperature if device.tank is not None else None,
is_available=lambda device: device.tank is not None,
)
Expand Down
3 changes: 3 additions & 0 deletions custom_components/panasonic_cc/panasonic/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class PanasonicEnergySensorEntityDescription(SensorEntityDescription):
device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
suggested_unit_of_measurement=UnitOfTemperature.CELSIUS,
get_state=lambda device: device.parameters.inside_temperature,
is_available=lambda device: device.parameters.inside_temperature is not None,
)
Expand All @@ -55,6 +56,7 @@ class PanasonicEnergySensorEntityDescription(SensorEntityDescription):
device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
suggested_unit_of_measurement=UnitOfTemperature.CELSIUS,
get_state=lambda device: device.parameters.outside_temperature,
is_available=lambda device: device.parameters.outside_temperature is not None,
)
Expand Down Expand Up @@ -186,6 +188,7 @@ def create_zone_temperature_description(zone: PanasonicDeviceZone):
device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
suggested_unit_of_measurement=UnitOfTemperature.CELSIUS,
get_state=lambda device: zone.temperature,
is_available=lambda device: zone.has_temperature
)
Expand Down