Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DEVICE_CATEGORY_DIY on the new 1.6.0 #4851

Closed
aviat40 opened this issue Dec 7, 2024 · 3 comments
Closed

Add DEVICE_CATEGORY_DIY on the new 1.6.0 #4851

aviat40 opened this issue Dec 7, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aviat40
Copy link
Collaborator

aviat40 commented Dec 7, 2024

Hello Bertrand,

local function init()
if system.registerDeviceConfig then
system.registerDeviceConfig({category = DEVICE_CATEGORY_DIY, name = name, bitmap = icon, version = LUA_VERSION, pages = { {name = name, create = create, wakeup = wakeup} }})
else
ssystem.registerSystemTool({name=name, icon=icon, create=create, wakeup=wakeup})
end
end

Thks

@bsongis-frsky bsongis-frsky self-assigned this Dec 12, 2024
@bsongis-frsky bsongis-frsky added this to the 1.6.0 milestone Dec 12, 2024
@bsongis-frsky bsongis-frsky added the enhancement New feature or request label Dec 12, 2024
@bsongis-frsky
Copy link
Collaborator

It will be there in 1.6.0 RC7

@bsongis-frsky
Copy link
Collaborator

As the other categories, it will be displayed only if one DIY sensor is there!

@bsongis-frsky
Copy link
Collaborator

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants