feat: add native Symcon room climate, schedules, weather and presence
This commit is contained in:
1 parent
510aece983
commit
18e73194e0
37 files changed
+2861
-2132
No files matched your search
@@ -27,6 +27,19 @@ export interface DeviceValueLink {
|
||||
label?: string | null;
|
||||
}
|
||||
|
||||
export interface RoomHvac {
|
||||
supply_vsr?: EntityRef;
|
||||
extract_vsr?: EntityRef;
|
||||
supply_temperature?: EntityRef;
|
||||
extract_temperature?: EntityRef;
|
||||
reheat?: EntityRef;
|
||||
status?: EntityRef;
|
||||
schedules?: string[];
|
||||
}
|
||||
|
||||
export const WEATHER_VARIABLE_KEYS = ["condition", "temperature", "humidity", "pressure", "wind_speed", "wind_gust_speed", "wind_bearing", "cloud_coverage", "precipitation", "precipitation_total", "illuminance", "uv_index", "visibility", "snow", "fog", "lightning"] as const;
|
||||
export type WeatherVariableKey = typeof WEATHER_VARIABLE_KEYS[number];
|
||||
|
||||
/** A wall height on a room edge, or one per part of a split edge. */
|
||||
export type WallHeight = number | null | (number | null)[];
|
||||
|
||||
@@ -35,6 +48,7 @@ export interface Room {
|
||||
climate?: RoomClimate | null;
|
||||
/** Show temperature, humidity and CO2 in a floating glass card over this room. */
|
||||
climate_card?: boolean;
|
||||
hvac?: RoomHvac | null;
|
||||
id: string;
|
||||
name: string;
|
||||
area_id: string | null;
|
||||
@@ -699,6 +713,7 @@ export interface BleTag {
|
||||
}
|
||||
|
||||
export interface BuildingSettings {
|
||||
weather_variables?: Partial<Record<WeatherVariableKey, EntityRef>> | null;
|
||||
/** Bluetooth tags located by room (the sensor and the editor's learning by walking). */
|
||||
ble?: { tags: BleTag[] } | null;
|
||||
/** Stations and playlists for the speakers' quick menu (Klang). */
|
||||
@@ -1060,6 +1075,7 @@ export interface Circuit {
|
||||
|
||||
/** A person and the sensor whose state names the room they are in (ESPresense, Bermuda, …). */
|
||||
export interface PresenceLink {
|
||||
name?: string | null;
|
||||
/** A person, or any entity that is "home" / "on" while someone is in (an input_boolean, a device tracker). */
|
||||
person: string;
|
||||
sensor: string | null;
|
||||
|
||||
Reference in new issue
Block a user