vlebourl / tahoma_extended

Extend the home assistant tahoma integration with new features not yet published to HA.
MIT License
2 stars 3 forks source link

Add support for io:SimpleBioclimaticPergolaIOComponent #4

Closed iMicknl closed 4 years ago

iMicknl commented 4 years ago

SimpleBioclimaticPergolaIOComponent

      "definition": {
        "commands": [
          { "commandName": "closeSlats", "nparams": 0 },
          { "commandName": "delayedStopIdentify", "nparams": 1 },
          { "commandName": "getName", "nparams": 0 },
          { "commandName": "identify", "nparams": 0 },
          { "commandName": "openSlats", "nparams": 0 },
          { "commandName": "refreshMemorized1Orientation", "nparams": 0 },
          { "commandName": "setMemorized1Orientation", "nparams": 1 },
          { "commandName": "setName", "nparams": 1 },
          { "commandName": "setSecuredOrientation", "nparams": 1 },
          { "commandName": "setOrientation", "nparams": 1 },
          { "commandName": "startIdentify", "nparams": 0 },
          { "commandName": "stop", "nparams": 0 },
          { "commandName": "stopIdentify", "nparams": 0 },
          { "commandName": "wink", "nparams": 1 }
        ],
        "states": [
          {
            "type": "ContinuousState",
            "qualifiedName": "core:Memorized1OrientationState"
          },
          { "type": "DataState", "qualifiedName": "core:NameState" },
          {
            "type": "ContinuousState",
            "qualifiedName": "core:PriorityLockTimerState"
          },
          { "type": "ContinuousState", "qualifiedName": "core:RSSILevelState" },
          {
            "type": "ContinuousState",
            "qualifiedName": "core:SecuredOrientationState"
          },
          {
            "values": ["closed", "open"],
            "type": "DiscreteState",
            "qualifiedName": "core:SlatsOpenClosedState"
          },
          {
            "type": "ContinuousState",
            "qualifiedName": "core:SlatsOrientationState"
          },
          {
            "values": ["available", "unavailable"],
            "type": "DiscreteState",
            "qualifiedName": "core:StatusState"
          },
          {
            "values": [
              "comfortLevel1",
              "comfortLevel2",
              "comfortLevel3",
              "comfortLevel4",
              "environmentProtection",
              "humanProtection",
              "userLevel1",
              "userLevel2"
            ],
            "type": "DiscreteState",
            "qualifiedName": "io:PriorityLockLevelState"
          },
          {
            "values": [
              "LSC",
              "SAAC",
              "SFC",
              "UPS",
              "externalGateway",
              "localUser",
              "myself",
              "rain",
              "security",
              "temperature",
              "timer",
              "user",
              "wind"
            ],
            "type": "DiscreteState",
            "qualifiedName": "io:PriorityLockOriginatorState"
          }
        ],

[tracking item for the feature I am working on at the moment]. I have currently built those features in the original Tahoma component, but it doesn't look like they will be merged into core.. Will do some more testing and add them to this repository.

vlebourl commented 4 years ago

Thanks, I'll merge your PR when submitted.

iMicknl commented 4 years ago

I will close this one for now, this component doesn't have the cover entity yet. I will work on it and try to merge it in core. Would be great to have your fixes in core as well. ;-)

vlebourl commented 4 years ago

Unfortunately they're not good enough for core yet... I'm trying to improve the climate one, but I don't have much time... Maybe the switch and light could be added more easily. I'll have a look.

iMicknl commented 4 years ago

@vlebourl I am using this integration only for the light implementation at the moment :).

vlebourl commented 4 years ago

Fair enough, I'm cleaning up the code to prepare for a PR to the core component. Can you try out beta release https://github.com/vlebourl/tahoma_extended/tree/0.8b2 to verify that I didn't mess it up?