File: remote_value_temp.py

package info (click to toggle)
python-xknx 3.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,064 kB
  • sloc: python: 40,895; javascript: 8,556; makefile: 32; sh: 12
file content (17 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""
Module for managing a remote temperature value.

DPT 9.001.
"""

from __future__ import annotations

from xknx.dpt import DPTTemperature

from .remote_value import RemoteValue


class RemoteValueTemp(RemoteValue[float]):
    """Abstraction for remote value of KNX 9.001 (DPT_Value_Temp)."""

    dpt_class = DPTTemperature