I installed the AK GoogleCast plugin and it created some devices for me. What I see different on device cards is it has some icons instead of buttons for controls. Have a look at the below screenshot to get a better idea.
How can I achieve something similar to this in devices of my own plugin? As far as I know, the Plugin SDK does not provide any control over the look and feel of the devices.html page. We can only manipulate data of devices/features using Plugin SDK's API and the rendering of the devices.html page is handled by HS4 itself. Correct me if I am wrong here.
I had a look at the Status/Graphics tab for this Google Cast device and tried to implement something similar in a device of my own. But I don't get the desired result. Below are the screenshots of the graphics used in Google Cast device and my device and also of the result I get after implementing the graphics in my device.


Notable differences between GoogleCast's device and my device:
1. GoogleCast's device does not show the feature name or status on the device card. It just shows the feature icon. Whereas my device shows both the feature name and the status of the feature.
2. GoogleCast's device shows icons for controls. My device shows buttons for controls.
I would like to know how can I achieve results similar to the AK GoogleCast plugin.
How can I achieve something similar to this in devices of my own plugin? As far as I know, the Plugin SDK does not provide any control over the look and feel of the devices.html page. We can only manipulate data of devices/features using Plugin SDK's API and the rendering of the devices.html page is handled by HS4 itself. Correct me if I am wrong here.
I had a look at the Status/Graphics tab for this Google Cast device and tried to implement something similar in a device of my own. But I don't get the desired result. Below are the screenshots of the graphics used in Google Cast device and my device and also of the result I get after implementing the graphics in my device.
Notable differences between GoogleCast's device and my device:
1. GoogleCast's device does not show the feature name or status on the device card. It just shows the feature icon. Whereas my device shows both the feature name and the status of the feature.
2. GoogleCast's device shows icons for controls. My device shows buttons for controls.
I would like to know how can I achieve results similar to the AK GoogleCast plugin.
Comment