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

请求支持领普 s2 开关的自带传感器 #1890

Open
hainru opened this issue Oct 12, 2024 · 1 comment
Open

请求支持领普 s2 开关的自带传感器 #1890

hainru opened this issue Oct 12, 2024 · 1 comment

Comments

@hainru
Copy link

hainru commented Oct 12, 2024

Device model / 设备型号

linp.switch.s2dw3

Component version / 插件版本

0.7.20

HA core version / HA版本

No response

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

请求支持领普 s2 开关的传感器组件,该开关可以在实体面板上自定义显示任意文字,非常有用!但目前的版本不支持该设备的传感器,只能控制其实体开关,希望考虑兼容更新,谢谢!
IMG_9586

Entity attributes / 实体属性

model:%20linp.switch.s2dw3%0Alan_ip%3A%20192.168.66.110%0Amac_address%3A%208C%3AD0%3AB2%3A3F%3A76%3A26%0Aentity_class%3A%20MiotSwitchEntity%0Ahome_room%3A%20%E7%8F%8A%E7%91%9A%E6%B9%BE%20%E4%B8%BB%E5%8D%A7%0Amiot_type%3A%20urn%3Amiot-spec-v2%3Adevice%3Aswitch%3A0000A003%3Alinp-s2dw3%3A2%3A0000D042%0Aswitch-3.on%3A%20false%0Aswitch-3.mode%3A%201%0Avd_panel_a.text_a%3A%20%E6%AC%A2%E8%BF%8E%E6%9D%A5%E5%88%B0%E4%B8%BB%E5%8D%A7%EF%BC%81%0Avd_panel_a.text_b%3A%20%E5%8D%97%E9%9D%A2%E5%AE%A4%E5%A4%96%E6%B8%A9%E5%BA%A628.2%C2%B0C%5Cn%E4%B8%9C%E9%9D%A2%E5%AE%A4%E5%A4%96%E6%B8%A9%E5%BA%A626.4%C2%B0C%5Cn%20%E5%AE%A2%E5%8E%85%E5%BD%93%E5%89%8D%E6%B8%A9%E5%BA%A629.3%E2%84%83%0Avd_panel_a.text_c%3A%20%E4%B8%BB%E5%8D%A7%E5%BD%93%E5%89%8D%E6%B8%A9%E5%BA%A629%C2%B0C%5Cn%E6%AC%A1%E5%8D%A7%E5%BD%93%E5%89%8D%E6%B8%A9%E5%BA%A628.5%C2%B0C%5Cn%E5%8E%A8%E6%88%BF%E5%BD%93%E5%89%8D%E6%B8%A9%E5%BA%A628.6%C2%B0C%0Avd_panel_a.text_s%3A%20%E4%BD%A0%E5%A5%BD%EF%BC%81%0Avd_motor_b.target_position%3A%2050%0Avd_motor_a.target_position%3A%2050%0Avd_thmst_b.on%3A%20false%0Avd_thmst_b.target_temperature%3A%2025%0Avd_thmst_b.mode%3A%200%0Avd_thmst_b.fan_level%3A%200%0Avd_thmst_a.on%3A%20false%0Avd_thmst_a.target_temperature%3A%2027.5%0Avd_thmst_a.mode%3A%201%0Avd_thmst_a.fan_level%3A%200%0Avd_light_c.on%3A%20false%0Avd_light_c.brightness%3A%2050%0Avd_light_c.color_temperature%3A%204000%0Avd_light_c.color%3A%2016777215%0Avd_light_c.color_mode%3A%200%0Avd_light_b.on%3A%20false%0Avd_light_b.brightness%3A%2050%0Avd_light_b.color_temperature%3A%204000%0Avd_light_a.on%3A%20false%0Avd_light_a.brightness%3A%2050%0Avd_light_a.color_temperature%3A%204000%0Avendor.city%3A%20%22101310101%22%0Avendor.screen_saver%3A%20true%0Avendor.night_mode%3A%20true%0Avendor.night_mode_start%3A%2075600%0Avendor.night_mode_over%3A%2032400%0Avendor.sensitivity%3A%202%0Avendor.occupy%3A%20false%0Avendor.relay_lock%3A%20false%0Avendor.access_token%3A%20%22%22%0Avendor.refresh_token%3A%20%22%22%0Avendor.time_fmt%3A%200%0Avendor.ss_brightness%3A%2020%0Avendor.rotate%3A%20false%0Ascreen_set.screen_a%3A%20%220%22%0Ascreen_set.screen_b%3A%2073,1,%E7%A9%BA%E8%B0%83%7C%E4%B8%BB%E5%8D%A7,1%0Ascreen_set.screen_c%3A%2075,1,%E4%BF%A1%E6%81%AF%E4%B8%AD%E5%BF%83%7C%E9%80%9A%E7%9F%A5,1%0Ascreen_set.screen_d%3A%20%3E-%0A%20%205,(5,12,67,0),(1,0,28,0),(2,0,0,0),(3,0,28,0),(4,0,0,2),(0,0,0,0),(0,0,0,0),(0,0,0,0)%0Ascreen_set.screen_e%3A%20%22%22%0Ascreen_set.screen_f%3A%20%22%22%0Ascreen_set.theme%3A%20https%3A//s2dw.ks3-cn-shanghai.ksyuncs.com/v1/hy/theme.bin%0Ascreen_set.names:%20%E5%BC%80%E7%AA%97%E5%B8%98,%E5%BC%80%E7%AA%97,%E5%85%B3%E7%AA%97%E5%B8%98,%E5%85%B3%E7%AA%97,%E7%A9%BA%E8%B0%83%E5%BC%80%E5%85%B3,,,,,,,,,,,,%0Ascreen_set.theme_cfg:%2010,291,10,266,3,15,10,234,3,164,0,0,0,0,15%0Ascreen_set.scene_a:%20%22%22%0Ascreen_set.scene_b:%20%22%22%0Ascreen_set.screen_g:%20%22%22%0Ascreen_set.screen_h:%20%22%22%0Ascreen_set.screen_ss:%20%22%22%0Ascreen.brightness:%2028%0Ascreen.auto_screen_off:%20true%0Ascreen.auto_screen_brightness:%20true%0Ascreen.auto_screen_off_time:%201%0Ascreen.on:%20true%0Astate_updater:%20lan%0Adevice_class:%20switch%0Afriendly_name:%20Linptech%20Touch%20Screen%20Switch%20S2%20Second%20Switch%20Service%0Asupported_features:%200%0A

Home Assistant Logs / 系统日志

No response

@hainru
Copy link
Author

hainru commented Oct 12, 2024

该开关在小米中枢网关(极客版)中支持的功能有这些,供参考!通过其虚拟文本功能可以实现面板文字自定义,非常有用
IMG_9587

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

No branches or pull requests

1 participant