Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add level command and status #565

Merged
merged 4 commits into from
Jan 15, 2024
Merged
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
3 changes: 3 additions & 0 deletions bricksrc/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
},
"Relay_Command": {"tags": [TAG.Point, TAG.Relay, TAG.Command]},
"Light_Command": {"tags": [TAG.Point, TAG.Light, TAG.Command]},
"Level_Command": {
"tags": [TAG.Level, TAG.Command, TAG.Point],
},
"Speed_Command": {"tags": [TAG.Point, TAG.Speed, TAG.Command]},
"Cooling_Command": {"tags": [TAG.Point, TAG.Cool, TAG.Command]},
"Heating_Command": {"tags": [TAG.Point, TAG.Heat, TAG.Command]},
Expand Down
2 changes: 2 additions & 0 deletions bricksrc/definitions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,8 @@ https://brickschema.org/schema/Brick#Leaving_Water_Temperature_Proportional_Band
https://brickschema.org/schema/Brick#Leaving_Water_Temperature_Sensor,Measures the temperature of water leaving a piece of equipment or system,
https://brickschema.org/schema/Brick#Leaving_Water_Temperature_Setpoint,Sets temperature of leaving water,
https://brickschema.org/schema/Brick#Level,,
https://brickschema.org/schema/Brick#Level_Command,"Adjusts the operational state to a specific level within a predefined range.",
https://brickschema.org/schema/Brick#Level_Status,"The current operational state of a specific level within a predefined range.",
https://brickschema.org/schema/Brick#Library,"A place for the storage and/or consumption of physical media, e.g. books, periodicals, and DVDs/CDs",
https://brickschema.org/schema/Brick#Light_Command,Controls the amount of the light provided by the device,
https://brickschema.org/schema/Brick#Lighting,,
Expand Down
3 changes: 3 additions & 0 deletions bricksrc/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,9 @@
"tags": [TAG.Point, TAG.Pressure, TAG.Status],
},
"Lead_Lag_Status": {"tags": [TAG.Point, TAG.Lead, TAG.Lag, TAG.Status]},
"Level_Status": {
"tags": [TAG.Level, TAG.Status, TAG.Point],
},
"Stages_Status": {"tags": [TAG.Point, TAG.Stages, TAG.Status]},
"System_Shutdown_Status": {
"tags": [TAG.Point, TAG.System, TAG.Shutdown, TAG.Status],
Expand Down