Extend get_states (#15985)

This commit is contained in:
Franck Nijhof 2023-03-31 15:29:24 +02:00 committed by GitHub
parent a94b211d3e
commit 3e954eef02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,24 +118,40 @@ const FIXED_DOMAIN_ATTRIBUTE_STATES = {
"window",
],
},
device_tracker: {
source_type: ["bluetooth", "bluetooth_le", "gps", "router"],
},
fan: {
direction: ["forward", "reverse"],
},
humidifier: {
device_class: ["humidifier", "dehumidifier"],
},
media_player: {
device_class: ["tv", "speaker", "receiver"],
media_content_type: [
"album",
"app",
"artist",
"channel",
"channels",
"composer",
"contibuting_artist",
"episode",
"game",
"genre",
"image",
"movie",
"music",
"playlist",
"podcast",
"season",
"track",
"tvshow",
"url",
"video",
],
repeat: ["off", "one", "all"],
},
number: {
device_class: ["temperature"],