I add in metadata the ocfDeviceType
in all profile files. yml and they are not lost, they show well in all views and automation, as recommended by @iquix
metadata:
deviceType: Light
ocfDeviceType: oic.d.light
deviceTypeId: Light
I use a list recommended by @Automated_House and posted by .
@orangebucket
I extracted this out of the Developer Workspace a few months back. I make no claims for it, other than it is the list that was available for creating Device Profiles at the time.
UPDATE: This list has been referenced in various places so I thought it should have an update. This version was created on 9th October 2021. The ‘Device Type’ column appears in PascalCase in certain contexts. I chose to use the readable version …
Device Type
ocfDeviceType
Air Conditioner
oic.d.airconditioner
Air Purifier
oic.d.airpurifier
Air Quality Detector
x.com.st.d.airqualitysensor
Battery
x.com.st.d.battery
Blind
oic.d.blind
Blu-ray Player
x.com.st.d.blurayplayer
Camera
oic.d.camera
Contact Sensor
x.com.st.d.sensor.contact
Cooktop
x.com.st.d.cooktop
Dishwasher
oic.d.dishwasher
D…
2 Likes