Skip to content

Commit

Permalink
Correct heater setting type names
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvandevijver committed Aug 30, 2024
1 parent 7034aef commit 521eab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/heater/TuyaHeaterConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ export const HEATER_CAPABILITIES_MAPPING = {
fault: 'fault',
} as const;

export type HomeySocketSettings = {
export type HomeyHeaterSettings = {
temp_set_scaling: '0' | '1' | '2' | '3';
temp_current_scaling: '0' | '1' | '2' | '3';
work_power_scaling: '0' | '1' | '2' | '3';
};

export type TuyaSocketSettings = Record<string, never>;
export type TuyaHeaterSettings = Record<string, never>;

export const DEFAULT_TUYA_HEATER_FAULTS = [
'sys_high_fault',
Expand Down

0 comments on commit 521eab5

Please sign in to comment.