Document device_class option for MQTT number (#23115)

This commit is contained in:
Erik Montnemery 2022-06-16 13:39:31 +02:00 committed by GitHub
parent 571092ff13
commit 8115b304a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,6 +117,11 @@ device:
description: 'Identifier of a device that routes messages between this device and Home Assistant. Examples of such devices are hubs, or parent devices of a sub-device. This is used to show device topology in Home Assistant.'
required: false
type: string
device_class:
description: The [type/class](/integrations/number/#device-class) of the number.
required: false
type: device_class
default: None
enabled_by_default:
description: Flag which defines if the entity should be enabled when first added.
required: false