Skip to content

Commit

Permalink
Added device type "invalid"
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Jan 25, 2025
1 parent c9ec40b commit 4b5e322
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/adapter-react-v5/src/Components/IconDeviceType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const deviceTypes = [
'image',
'info',
'instance',
'invalid',
'light',
'location',
'lock',
Expand Down Expand Up @@ -235,7 +236,7 @@ export function getDeviceIcon(type: DeviceType, props?: IconProps): React.JSX.El
if (type === 'vacuumCleaner') {
SvgComponent = IconVacuum as SvgIconComponent;
}
if (type === 'warning') {
if (type === 'warning' || type === 'invalid') {
SvgComponent = Warning;
}

Expand Down

0 comments on commit 4b5e322

Please sign in to comment.