forked from andrius/neohubapi
26 lines
512 B
Python
26 lines
512 B
Python
#!/usr/bin/env python3
|
|
|
|
# SPDX-FileCopyrightText: 2020 Andrius Štikonas <andrius@stikonas.eu>
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
|
|
class NeoStat:
|
|
"""
|
|
Class representing NeoStat theormostat
|
|
"""
|
|
|
|
def __init__(self, name: str, zone_id: int):
|
|
self._name = name
|
|
self._zone_id = zone_id
|
|
|
|
@property
|
|
def name(self):
|
|
""" Zone name. """
|
|
return self._name
|
|
|
|
|
|
@property
|
|
def zone_id(self):
|
|
""" End of holiday. """
|
|
return self._zone_id
|