This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Custom Air Condition Widget
#15
(31.10.2024, 08:36)Daniel Wrote: Did you change the ID as mentioned in this post?

Yes I did.

Code:
$(function () {
  Widget.thermostat-new = Widget.extend({
    config: {
      title: $.tr('thermostat-new.ctitle', 'Thermostat-NEW'),
      fields: {
        title: { datatype: 'string', title: $.tr('thermostat-new.title', 'Title123') },
      },
      objects: {
        temperature: { datatype: 9, title: $.tr('thermostat-new.temperature', 'Current temperature') + ' *' },
        setpoint: { datatype: 9, title: $.tr('thermostat-new.setpoint', 'Current setpoint temperature input') },
        'setpoint-status': { datatype: 9, title: $.tr('thermostat-new.setpoint-status', 'Current setpoint temperature output') },
[...]

It imports just fine, but just does not show up when trying to add widget...
Reply


Messages In This Thread
Custom Air Condition Widget - by gtsamis - 22.08.2020, 18:04
RE: Custom Air Condition Widget - by Daniel - 24.08.2020, 07:37
RE: Custom Air Condition Widget - by gtsamis - 24.08.2020, 12:14
RE: Custom Air Condition Widget - by Daniel - 24.08.2020, 12:23
RE: Custom Air Condition Widget - by gtsamis - 24.08.2020, 12:32
RE: Custom Air Condition Widget - by Daniel - 24.08.2020, 12:35
RE: Custom Air Condition Widget - by gtsamis - 24.08.2020, 12:44
RE: Custom Air Condition Widget - by Daniel - 24.08.2020, 13:44
RE: Custom Air Condition Widget - by stianj - 28.10.2024, 13:21
RE: Custom Air Condition Widget - by Daniel - 28.10.2024, 13:22
RE: Custom Air Condition Widget - by stianj - 28.10.2024, 13:41
RE: Custom Air Condition Widget - by Daniel - 28.10.2024, 14:16
RE: Custom Air Condition Widget - by stianj - 30.10.2024, 18:19
RE: Custom Air Condition Widget - by Daniel - 31.10.2024, 08:36
RE: Custom Air Condition Widget - by stianj - 31.10.2024, 09:44
RE: Custom Air Condition Widget - by admin - 31.10.2024, 09:51
RE: Custom Air Condition Widget - by Daniel - 31.10.2024, 09:57
RE: Custom Air Condition Widget - by stianj - 31.10.2024, 10:25
RE: Custom Air Condition Widget - by admin - 31.10.2024, 10:38
RE: Custom Air Condition Widget - by stianj - 31.10.2024, 11:02
RE: Custom Air Condition Widget - by Daniel - 31.10.2024, 11:05
RE: Custom Air Condition Widget - by stianj - 31.10.2024, 11:13

Forum Jump: