Skip to content

Commit

Permalink
UNIT_PERCENTAGE changed to PERCENTAGE in 0,115
Browse files Browse the repository at this point in the history
  • Loading branch information
CJNE committed Sep 21, 2020
1 parent 2597ddd commit 87d08da
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from homeassistant.const import TIME_DAYS, UNIT_PERCENTAGE, TEMP_CELSIUS, ATTR_TEMPERATURE
from homeassistant.const import TIME_DAYS, PERCENTAGE, TEMP_CELSIUS, ATTR_TEMPERATURE
from pythermiagenesis.const import *

from homeassistant.components.climate.const import (
Expand Down Expand Up @@ -992,7 +992,7 @@
ATTR_INPUT_CONDENSER_CIRCULATION_PUMP_SPEED: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Condenser Circulation Pump Speed",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_MIX_VALVE_1_SUPPLY_LINE_TEMPERATURE: {
Expand All @@ -1016,7 +1016,7 @@
ATTR_INPUT_BRINE_CIRCULATION_PUMP_SPEED: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Brine Circulation Pump Speed",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_HGW_SUPPLY_LINE_TEMPERATURE: {
Expand Down Expand Up @@ -1052,7 +1052,7 @@
ATTR_INPUT_COMPRESSOR_SPEED_PERCENT: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Compressor Speed Percent",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_SECOND_PRIORITISED_DEMAND: {
Expand Down Expand Up @@ -1232,37 +1232,37 @@
ATTR_INPUT_WCS_VALVE_POSITION: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "WCS Valve Position",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_TWC_VALVE_POSITION: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "TWC Valve Position",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_MIX_VALVE_2_POSITION: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 2 Position",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_MIX_VALVE_3_POSITION: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 3 Position",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_MIX_VALVE_4_POSITION: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 4 Position",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_MIX_VALVE_5_POSITION: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 5 Position",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_DEW_POINT_ROOM: {
Expand All @@ -1280,13 +1280,13 @@
ATTR_INPUT_SURPLUS_HEAT_FAN_SPEED: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Surplus Heat Fan Speed",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_POOL_SUPPLY_LINE_MIX_VALVE_POSITION: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Pool Supply Line Mix Valve Position",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_TWC_SUPPLY_LINE_TEMPERATURE: {
Expand Down Expand Up @@ -1502,7 +1502,7 @@
ATTR_INPUT_MIX_VALVE_COOLING_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve Cooling Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_INPUT_DESIRED_GEAR_FOR_TAP_WATER: {
Expand Down Expand Up @@ -1814,61 +1814,61 @@
ATTR_HOLDING_WCS_MIX_VALVE_LOWEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "WCS Mix Valve Lowest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_WCS_MIX_VALVE_HIGHEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "WCS Mix Valve Highest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_MIX_VALVE_2_LOWEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 2 Lowest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_MIX_VALVE_2_HIGHEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 2 Highest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_MIX_VALVE_3_LOWEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 3 Lowest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_MIX_VALVE_3_HIGHEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 3 Highest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_MIX_VALVE_4_LOWEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 4 Lowest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_MIX_VALVE_4_HIGHEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 4 Highest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_MIX_VALVE_5_LOWEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 5 Lowest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_MIX_VALVE_5_HIGHEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Mix Valve 5 Highest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_SURPLUS_HEAT_CHILLER_SET_POINT: {
Expand All @@ -1880,49 +1880,49 @@
ATTR_HOLDING_COOLING_SUPPLY_LINE_MIX_VALVE_LOWEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Cooling Supply Line Mix Valve Lowest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_COOLING_SUPPLY_LINE_MIX_VALVE_HIGHEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Cooling Supply Line Mix Valve Highest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_SURPLUS_HEAT_OPENING_DEGREE_FOR_STARTING_FAN_1: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Surplus Heat Opening Degree For Starting Fan 1",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_SURPLUS_HEAT_OPENING_DEGREE_FOR_STARTING_FAN_2: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Surplus Heat Opening Degree For Starting Fan 2",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_SURPLUS_HEAT_OPENING_DEGREE_FOR_STOPPING_FAN_1: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Surplus Heat Opening Degree For Stopping Fan 1",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_SURPLUS_HEAT_OPENING_DEGREE_FOR_STOPPING_FAN_2: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Surplus Heat Opening Degree For Stopping Fan 2",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_SURPLUS_HEAT_LOWEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Surplus Heat Lowest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_SURPLUS_HEAT_HIGHEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Surplus Heat Highest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_POOL_CHARGE_SET_POINT: {
Expand All @@ -1934,13 +1934,13 @@
ATTR_HOLDING_POOL_MIX_VALVE_LOWEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Pool Mix Valve Lowest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_POOL_MIX_VALVE_HIGHEST_ALLOWED_OPENING_DEGREE: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Pool Mix Valve Highest Allowed Opening Degree",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_GEAR_SHIFT_DELAY_HEATING: {
Expand Down Expand Up @@ -2012,13 +2012,13 @@
ATTR_HOLDING_CONDENSER_PUMP_LOWEST_ALLOWED_SPEED: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Condenser Pump Lowest Allowed Speed",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_BRINE_PUMP_LOWEST_ALLOWED_SPEED: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Brine Pump Lowest Allowed Speed",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_EXTERNAL_ADDITIONAL_HEATER_STOP: {
Expand All @@ -2030,25 +2030,25 @@
ATTR_HOLDING_CONDENSER_PUMP_HIGHEST_ALLOWED_SPEED: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Condenser Pump Highest Allowed Speed",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_BRINE_PUMP_HIGHEST_ALLOWED_SPEED: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Brine Pump Highest Allowed Speed",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_CONDENSER_PUMP_STANDBY_SPEED: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Condenser Pump Standby Speed",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_BRINE_PUMP_STANDBY_SPEED: {
ATTR_ICON: ICON_INPUT,
ATTR_LABEL: "Brine Pump Standby Speed",
ATTR_UNIT: UNIT_PERCENTAGE,
ATTR_UNIT: PERCENTAGE,
ATTR_DEFAULT_ENABLED: False,
},
ATTR_HOLDING_MINIMUM_ALLOWED_GEAR_IN_POOL: {
Expand Down

0 comments on commit 87d08da

Please sign in to comment.