Thank you, but still not working.
switch:
- platform: template
name: "Cover Open"
id: open_cover_switch
optimistic: true
assumed_state: True
turn_on_action:
- remote_transmitter.transmit_raw:
code: [2121, -1714, 62, -54, 5684, -225, 78, -71, 51, -118, 4648, -68, 71, -561, 99, -113, 82, -189, 57, -125, 287, -70, 144, -74, 532, -136, 121, -9626, 1462, -364, 703, -869, 201, -1803, 337, -367, 700, -357, 711, -711, 357, -355, 714, -711, 358, -356, 712, -356, 347, -3209, 361, -706, 365, -350, 718, -707, 363, -706, 365, -350, 717, -707, 363, -511, 557, -602, 467, -376, 693, -711, 359, -351, 717, -352, 716, -354, 713, -355, 713, -356, 711, -2849, 141, -574, 712, -359, 712, -357, 711, -714, 356, -357, 710, -358, 710, -359, 709, -1495, 6914, -4762, 1477, -353, 715, -355, 714, -356, 710, -712, 359, -354, 713, -467, 604, -729, 340, -373, 696, -709, 361, -352, 716, -354, 714, -709, 361, -707, 362, -706, 362, -2845, 306, -762, 366, -348, 721, -705, 364, -349, 719, -351, 717, -354, 715, -1000, 71, -1007, 61, -369, 702, -365, 704, -352, 716, -353, 715, -709, 361, -352, 716, -709, 362, -353, 480, -3084, 356, -355, 716, -354, 713, -356, 712, -711, 7706, -4767, 198, -2695, 125, -942, 711, -713, 356, -356, 711, -358, 709, -713, 356, -357, 711, -790, 280, -917, 151, -360, 705, -709, 359, -704, 364, -704, 365, -702, 366, -348, 718, -703, 365, -701, 78, -2055, 84, -628, 188, -879, 718, -353, 714, -707, 362, -353, 714, -354, 713, -356, 711, -495, 572, -589, 479, -728, 342, -355, 712, -709, 361, -352, 715, -354, 712, -356, 711, -712, 357, -353, 85, -2052, 56, -1368, 7704, -4770, 1474, -353, 715, -355, 712, -355, 94, -2040, 56, -1012, 711, -711, 360, -355, 714, -711, 358, -356, 712, -356, 713, -2851, 359, -712, 357, -346, 721, -701, 368, -701, 369, -347, 721, -703, 366, -347, 706, -2857, 340, -375, 717, -353, 716, -353, 714, -356, 712, -356, 712, -712, 358, -780, 290, -955, 116, -365, 703, -361, 707, -353, 714, -708, 361, -353, 715, -354, 714, -355, 713, -709, 144, -3737, 3827, -4785, 1458, -355, 713, -356, 712, -357, 711, -712, 358, -356, 713, -357, 391, -3170, 359, -355, 716, -358, 711, -711, 359, -710, 359, -709, 362, -706, 364, -496, 574, -795, 276, -715, 356, -353, 716, -706, 364, -347, 721, -351, 717, -352, 715, -708, 363, -351, 150, -3059, 710, -361, 712, -713, 358, -356, 713, -712, 360, -355, 714, -357, 712, -473, 597, -732, 339, -378, 691, -360, 709, -356, 713, -714, 3638, -3930, 136, -4775, 1473, -456, 616, -500, 570, -376, 693, -713, 360, -353, 716, -354, 714, -711, 360, -355, 714, -711, 358, -2850, 279, -790, 364, -708, 364, -705, 365, -350, 719, -706, 364, -706, 365, -761, 309, -1018, 1124, -361, 707, -349, 720, -705, 366, -349, 719, -351, 718, -353, 717, -354, 472, -2738, 87, -71, 83, -1186, 364, -354, 716, -355, 715, -356, 714, -712, 359, -355, 715, -633, 438, -632, 438, -722, 7234, -5254, 1477, -356, 714, -358, 711, -358, 711, -804, 269, -717, 353, -370, 700, -712, 358, -353, 716, -709, 361, -353, 715, -355, 714, -711, 361, -708, 2253, -599, 271, -56, 67, -62, 106, -54, 53, -757, 365, -706, 366, -350, 718, -708, 366, -350, 718, -353, 717, -428, 642, -757, 315, -367, 704, -357, 713, -354, 715, -356, 714, -357, 713, -713, 359, -355, 712, -2498, 83, -988, 715, -714, 358, -711, 361, -710, 365, -705, 363, -351, 8065, -6606, 717, -357, 714, -356, 713, -713, 358, -356, 713, -357, 712, -988, 86, -1791, 353, -363, 706, -351, 718, -707, 363, -708, 364, -705, 366, -703, 368, -347, 480, -2730, 97, -1331, 365, -348, 720, -351, 719, -353, 717, -708, 364, -351, 717, -604, 467, -810, 262, -368, 702, -355, 715, -708, 363, -351, 718, -708, 364, -351, 717, -355, 714, -354, 172, -2322, 83, -987, 364, -706, 364, -349, 8069, -4769, 1474, -355, 172, -3389, 358, -358, 711, -358, 711, -713, 358, -357, 714, -713, 358, -356, 713, -470, 600, -798, 274, -723, 347, -707, 362, -704, 366, -350, 719, -706, 364, -703, 367, -350, 718, -2489, 94, -976, 715, -712, 362, -351, 716, -355, 714, -357, 712, -358, 712, -920, 151, -1463, 677, -713, 358, -352, 716, -354, 715, -355, 715, -709, 361, -708, 363, -705, 194, -3883, 157]
carrier_frequency: 38kHz
- platform: template
name: "Cover Stop"
id: stop_cover_switch
optimistic: true
assumed_state: True
turn_on_action:
- remote_transmitter.transmit_raw:
code: [-66, 101, -448, 3425, -5895, 710, -367, 707, -363, 707, -722, 353, -364, 709, -362, 711, -940, 135, -682, 391, -752, 322, -361, 711, -357, 716, -712, 363, -710, 364, -708, 363, -709, 366, -349, 101, -2403, 175, -543, 722, -708, 368, -351, 718, -355, 720, -354, 718, -712, 364, -354, 719, -1529, 620, -374, 698, -357, 715, -711, 362, -355, 719, -711, 363, -354, 719, -710, 305, -2559, 127, -504, 1166, -353, 720, -709, 7739, -4790, 1329, -2656, 115, -74, 53, -1191, 361, -353, 718, -358, 716, -713, 362, -357, 716, -713, 362, -686, 390, -768, 305, -746, 331, -707, 366, -705, 370, -702, 371, -348, 725, -707, 368, -702, 371, -346, 186, -3036, 270, -81, 52, -289, 1106, -709, 365, -353, 719, -355, 718, -356, 718, -357, 717, -458, 613, -752, 324, -387, 687, -711, 365, -352, 719, -711, 365, -352, 721, -711, 363, -354, 719, -2856, 284, -824, 6637, -4788, 1485, -355, 717, -356, 716, -358, 709, -2505, 110, -1319, 360, -355, 719, -713, 361, -355, 716, -356, 716, -713, 361, -854, 219, -817, 257, -724, 349, -360, 713, -704, 369, -702, 369, -348, 724, -706, 366, -350, 722, -351, 356, -2145, 56, -662, 154, -919, 718, -357, 716, -357, 716, -358, 715, -714, 360, -357, 716, -857, 219, -600, 472, -730, 345, -353, 720, -708, 363, -351, 721, -709, 364, -352, 721, -710, 662, -3873, 3204, -4837, 1437, -355, 719, -352, 720, -354, 717, -714, 362, -354, 718, -356, 717, -2858, 212, -506, 720, -356, 718, -712, 362, -711, 364, -711, 365, -709, 367, -431, 644, -1794, 357, -352, 722, -702, 373, -346, 726, -348, 726, -350, 722, -709, 369, -350, 512, -2710, 110, -965, 719, -712, 363, -354, 720, -711, 363, -354, 718, -711, 365, -600, 474, -885, 193, -365, 709, -711, 363, -349, 723, -709, 4066, -8469, 1483, -577, 497, -821, 255, -374, 699, -714, 360, -351, 720, -354, 720, -711, 363, -354, 720, -710, 364, -351, 127, -2377, 140, -932, 366, -709, 366, -707, 366, -352, 722, -709, 367, -707, 368, -349, 724, -1610, 540, -364, 709, -351, 721, -708, 369, -348, 725, -351, 722, -353, 722, -356, 694, -2529, 119, -1313, 365, -355, 718, -713, 362, -355, 719, -711, 364, -355, 720, -812, 263, -1024, 8176, -5123, 1488, -356, 719, -356, 719, -354, 717, -864, 212, -947, 129, -362, 712, -711, 362, -351, 725, -705, 367, -351, 722, -353, 721, -709, 365, -706, 57, -2089, 59, -658, 238, -1194, 369, -707, 365, -349, 722, -709, 369, -348, 724, -351, 722, -420, 653, -755, 321, -368, 705, -354, 718, -353, 718, -355, 719, -356, 717, -714, 362, -354, 719, -2859, 290, -426, 721, -713, 362, -353, 719, -712, 364, -355, 717, -712]
carrier_frequency: 38kHz
- platform: template
name: "Cover Close"
id: close_cover_switch
optimistic: true
assumed_state: True
turn_on_action:
- remote_transmitter.transmit_raw:
code: [-210, 507, -950, 4425, -3378, 54, -71, 58, -67, 61, -59, 9666, -378, 189, -222, 91, -195, 66, -7785, 51, -377, 54, -441, 706, -366, 705, -369, 701, -718, 354, -361, 709, -362, 708, -1537, 608, -747, 325, -372, 697, -359, 710, -712, 360, -710, 361, -707, 365, -705, 365, -349, 703, -2510, 122, -1304, 363, -352, 720, -353, 717, -353, 716, -708, 365, -350, 718, -809, 262, -1437, 701, -369, 700, -708, 363, -349, 720, -705, 365, -350, 718, -351, 718, -708, 122, -2729, 178, -380, 52, -68, 1109, -707, 7706, -4764, 1479, -351, 381, -3183, 360, -353, 715, -358, 713, -710, 360, -355, 716, -712, 358, -352, 717, -516, 554, -893, 179, -722, 350, -704, 365, -703, 367, -347, 723, -703, 370, -699, 370, -345, 722, -2484, 54, -1016, 714, -712, 362, -351, 718, -352, 716, -351, 715, -355, 714, -355, 713, -1695, 445, -720, 351, -353, 713, -354, 715, -706, 364, -703, 367, -347, 720, -349, 717, -3514, 52, -67, 58, -64, 5722, -4767, 1474, -352, 717, -352, 716, -356, 710, -709, 360, -2848, 298, -415, 714, -712, 359, -353, 716, -354, 714, -709, 361, -708, 361, -992, 80, -1458, 681, -703, 366, -701, 368, -345, 723, -699, 369, -345, 722, -349, 719, -350, 497, -2710, 119, -66, 52, -832, 715, -359, 709, -357, 712, -710, 359, -355, 713, -709, 361, -681, 388, -937, 134, -719, 350, -703, 365, -350, 716, -349, 720, -703, 366, -701, 1990, -3441, 54, -84, 62, -54, 54, -6837, 1368, -373, 693, -359, 711, -353, 713, -711, 361, -352, 717, -354, 714, -708, 361, -353, 216, -2993, 201, -242, 52, -87, 68, -774, 358, -709, 363, -705, 363, -705, 364, -349, 720, -919, 151, -1735, 403, -713, 356, -346, 721, -348, 718, -352, 716, -706, 366, -348, 719, -350, 718, -352, 68, -2070, 55, -72, 53, -1241, 362, -354, 715, -709, 362, -350, 717, -353, 716, -708, 362, -1552, 587, -448, 621, -717, 353, -703, 5627, -6851, 1476, -354, 713, -482, 587, -1799, 343, -382, 684, -354, 712, -709, 361, -353, 716, -708, 362, -351, 715, -354, 662, -2896, 362, -708, 362, -350, 719, -706, 363, -703, 365, -349, 718, -705, 364, -767, 301, -1437, 700, -706, 362, -348, 719, -349, 719, -350, 716, -350, 715, -354, 714, -708, 124, -2019, 53, -162, 54, -438, 166, -417, 58, -429, 714, -712, 358, -706, 362, -351, 715, -354, 713, -710, 360, -773, 7637, -4766, 1475, -355, 714, -354, 714, -356, 712, -709, 359, -354, 715, -563, 506, -775, 295, -381, 687, -709, 360, -351, 715, -354, 714, -708, 360, -707, 363, -704, 364, -705, 2243, -71, 53, -836, 365, -348, 718, -704, 363, -349, 720, -352, 714, -354, 715, -1509, 631, -558, 510, -374, 693, -353, 713, -356, 714, -707, 362, -352, 713, -711, 361, -351, 714, -2846, 276, -72, 1082, -353, 715, -708, 360, -707, 7711, -4768, 534, -2365, 104, -969, 708, -713, 357, -357, 712, -359, 711, -710, 358, -357, 711, -1012, 57, -1476, 665, -711, 357, -704, 364, -704, 367, -700, 368, -346, 722, -704, 365, -702, 192, -2660, 136, -78, 51, -804, 718, -353, 716, -708, 363, -351, 715, -355, 715, -354, 713, -747, 323, -1796, 342, -358, 708, -703, 365]
carrier_frequency: 38kHz