File tree 1 file changed +18
-16
lines changed
src/lib/seam/components/DeviceDetails
1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -123,23 +123,25 @@ export function ThermostatDeviceDetails({
123
123
< FanModeRow device = { device } />
124
124
</ DetailSection >
125
125
126
- < DetailSection
127
- label = { t . defaultSettings }
128
- tooltipContent = { t . defaultSettingsTooltip }
129
- >
130
- < DetailRow label = { t . defaultClimate } >
131
- { device . properties . default_climate_setting != null ? (
132
- < ClimateSettingStatus
133
- climateSetting = { device . properties . default_climate_setting }
134
- temperatureUnit = 'fahrenheit'
135
- />
136
- ) : (
137
- < p > { t . none } </ p >
138
- ) }
139
- </ DetailRow >
126
+ { ! disableClimateSettingSchedules && (
127
+ < DetailSection
128
+ label = { t . defaultSettings }
129
+ tooltipContent = { t . defaultSettingsTooltip }
130
+ >
131
+ < DetailRow label = { t . defaultClimate } >
132
+ { device . properties . default_climate_setting != null ? (
133
+ < ClimateSettingStatus
134
+ climateSetting = { device . properties . default_climate_setting }
135
+ temperatureUnit = 'fahrenheit'
136
+ />
137
+ ) : (
138
+ < p > { t . none } </ p >
139
+ ) }
140
+ </ DetailRow >
140
141
141
- < ManualOverrideRow device = { device } />
142
- </ DetailSection >
142
+ < ManualOverrideRow device = { device } />
143
+ </ DetailSection >
144
+ ) }
143
145
144
146
< DetailSection label = { t . deviceDetails } >
145
147
< DetailRow label = { t . manufacturer } >
You can’t perform that action at this time.
0 commit comments