Skip to content

Commit

Permalink
More warning fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Steefph authored Nov 11, 2024
1 parent 7f91be4 commit b90f95b
Showing 1 changed file with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ secondary_entities:
# Turn on the display on press for timeout time
- entity: button
name: Display On
optional: true
dps:
- id: 118
name: button
type: boolean
optional: true

Check failure on line 79 in custom_components/tuya_local/devices/smart_wifi_socket_Thermostat.yaml

View workflow job for this annotation

GitHub Actions / lint

79:1 [trailing-spaces] trailing spaces

# Diagnostics
- entity: binary_sensor
Expand Down Expand Up @@ -107,11 +108,11 @@ secondary_entities:
name: Display Timeout
icon: "mdi:timer-cog-outline"
category: config
optional: true
dps:
- id: 117
type: string
name: option
optional: true
mapping:
- dps_val: "15s"
value: "15s"
Expand All @@ -136,10 +137,10 @@ secondary_entities:
name: Alarm Maximum temperature
category: config
icon: "mdi:thermometer-chevron-up"
optional: true
dps:
- id: 9
type: integer
optional: true
name: value
unit: C
mapping:
Expand All @@ -153,6 +154,7 @@ secondary_entities:
category: config
name: Audio Alarm Low temperature
icon: "mdi:thermometer-alert"
optional: true
dps:
- id: 11
name: switch
Expand All @@ -162,10 +164,10 @@ secondary_entities:
name: Alarm Minimum temperature
category: config
icon: "mdi:thermometer-chevron-down"
optional: true
dps:
- id: 12
type: integer
optional: true
name: value
unit: C
mapping:
Expand All @@ -180,6 +182,7 @@ secondary_entities:
category: config
name: Cooling Delay
icon: "mdi:pump"
optional: true
dps:
- id: 13
name: switch
Expand All @@ -189,10 +192,10 @@ secondary_entities:
name: Cooling Delay time
category: config
icon: "mdi:pump"
optional: true
dps:
- id: 14
type: integer
optional: true
name: value
unit: min
range:
Expand All @@ -215,10 +218,10 @@ secondary_entities:
category: config
icon: "mdi:thermometer"
mode: "box"
optional: true
dps:
- id: 111
type: integer
optional: true
name: value
mapping:
- scale: 10
Expand All @@ -233,10 +236,11 @@ secondary_entities:
category: config
icon: "mdi:thermometer"
mode: "box"
optional: true
dps:
- id: 18
type: integer
optional: true

Check failure on line 243 in custom_components/tuya_local/devices/smart_wifi_socket_Thermostat.yaml

View workflow job for this annotation

GitHub Actions / lint

243:1 [trailing-spaces] trailing spaces
name: value
mapping:
- scale: 10
Expand All @@ -250,11 +254,11 @@ secondary_entities:
name: Brightness
icon: "mdi:brightness-6"
category: config
optional: true
dps:
- id: 115
type: string
name: option
optional: true
mapping:
- dps_val: "Low"
value: "Low"
Expand All @@ -268,6 +272,7 @@ secondary_entities:
category: config
name: Restore Last State
icon: "mdi:restore"
optional: true
dps:
- id: 116
name: switch
Expand Down

0 comments on commit b90f95b

Please sign in to comment.