Components
24
Twig Components
92
Render Count
310
ms
Render Time
14.0
MiB
Memory Usage
Components
Render calls
entry | App\Twig\Components\EntryComponent | 14.0 MiB | 19.21 ms | |
---|---|---|---|---|
Input props | [ "entry" => App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } "isSingle" => true "showShortSentence" => false "showBody" => true ] |
|||
Attributes | [ "class" => "entry--single section--top" ] |
|||
Component | App\Twig\Components\EntryComponent {#2967 -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2968 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +isSingle: true +showShortSentence: false +showBody: true +showMagazineName: false +canSeeTrash: false +newComments: 0 } |
user_inline | App\Twig\Components\UserInlineComponent | 14.0 MiB | 0.33 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#3183 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#3253 +date: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 14.0 MiB | 0.21 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } "editedAt" => DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#3317 +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } } |
vote | App\Twig\Components\VoteComponent | 14.0 MiB | 0.48 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#3384 +subject: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +formDest: "entry" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 14.0 MiB | 1.64 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#3455 +formDest: "entry" +subject: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entries_cross | App\Twig\Components\EntriesCrossComponent | 14.0 MiB | 62.65 ms | |
---|---|---|---|---|
Input props | [ "entry" => App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntriesCrossComponent {#3764 +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } -repository: App\Repository\EntryRepository {#271 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} } |
editor_toolbar | App\Twig\Components\EditorToolbarComponent | 14.0 MiB | 0.36 ms | |
---|---|---|---|---|
Input props | [ "id" => "entry_comment_686bc51924c1f8.37009276_body" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EditorToolbarComponent {#3889 +id: "entry_comment_686bc51924c1f8.37009276_body" } |
entry_comment | App\Twig\Components\EntryCommentComponent | 14.0 MiB | 47.11 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#4269 +comment: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 1 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 14.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#4331 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#4386 +date: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 14.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#4440 +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.27 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#4496 +width: 40 +height: 40 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 14.0 MiB | 0.66 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#4589 +subject: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 14.0 MiB | 4.72 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#4646 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 14.0 MiB | 32.51 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#4891 +comment: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +nestedComments: [ 307554 => App\Entity\EntryComment {#4210 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4093} +root: App\Entity\EntryComment {#4093} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4215 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4218 …} +nested: Doctrine\ORM\PersistentCollection {#4222 …} +votes: Doctrine\ORM\PersistentCollection {#4224 …} +reports: Doctrine\ORM\PersistentCollection {#4225 …} +favourites: Doctrine\ORM\PersistentCollection {#4227 …} +notifications: Doctrine\ORM\PersistentCollection {#4229 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } ] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 14.0 MiB | 29.67 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4210 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4093} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4215 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4218 …} +nested: Doctrine\ORM\PersistentCollection {#4222 …} +votes: Doctrine\ORM\PersistentCollection {#4224 …} +reports: Doctrine\ORM\PersistentCollection {#4225 …} +favourites: Doctrine\ORM\PersistentCollection {#4227 …} +notifications: Doctrine\ORM\PersistentCollection {#4229 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#4965 +comment: App\Entity\EntryComment {#4210 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4093} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4215 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4218 …} +nested: Doctrine\ORM\PersistentCollection {#4222 …} +votes: Doctrine\ORM\PersistentCollection {#4224 …} +reports: Doctrine\ORM\PersistentCollection {#4225 …} +favourites: Doctrine\ORM\PersistentCollection {#4227 …} +notifications: Doctrine\ORM\PersistentCollection {#4229 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 2 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 14.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#5012 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 0.22 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5067 +date: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 14.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#5121 +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.26 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#5175 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 14.0 MiB | 15.12 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4210 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4093} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4215 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4218 …} +nested: Doctrine\ORM\PersistentCollection {#4222 …} +votes: Doctrine\ORM\PersistentCollection {#4224 …} +reports: Doctrine\ORM\PersistentCollection {#4225 …} +favourites: Doctrine\ORM\PersistentCollection {#4227 …} +notifications: Doctrine\ORM\PersistentCollection {#4229 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#5244 +subject: App\Entity\EntryComment {#4210 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4093} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4215 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4218 …} +nested: Doctrine\ORM\PersistentCollection {#4222 …} +votes: Doctrine\ORM\PersistentCollection {#4224 …} +reports: Doctrine\ORM\PersistentCollection {#4225 …} +favourites: Doctrine\ORM\PersistentCollection {#4227 …} +notifications: Doctrine\ORM\PersistentCollection {#4229 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 14.0 MiB | 3.69 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4210 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4093} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4215 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4218 …} +nested: Doctrine\ORM\PersistentCollection {#4222 …} +votes: Doctrine\ORM\PersistentCollection {#4224 …} +reports: Doctrine\ORM\PersistentCollection {#4225 …} +favourites: Doctrine\ORM\PersistentCollection {#4227 …} +notifications: Doctrine\ORM\PersistentCollection {#4229 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#5301 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4210 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4093} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4215 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4218 …} +nested: Doctrine\ORM\PersistentCollection {#4222 …} +votes: Doctrine\ORM\PersistentCollection {#4224 …} +reports: Doctrine\ORM\PersistentCollection {#4225 …} +favourites: Doctrine\ORM\PersistentCollection {#4227 …} +notifications: Doctrine\ORM\PersistentCollection {#4229 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 14.0 MiB | 3.15 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4210 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4093} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4215 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4218 …} +nested: Doctrine\ORM\PersistentCollection {#4222 …} +votes: Doctrine\ORM\PersistentCollection {#4224 …} +reports: Doctrine\ORM\PersistentCollection {#4225 …} +favourites: Doctrine\ORM\PersistentCollection {#4227 …} +notifications: Doctrine\ORM\PersistentCollection {#4229 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#5541 +comment: App\Entity\EntryComment {#4210 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4093 +user: App\Entity\User {#4042 +avatar: null +cover: null +email: "m_randall@sh.itjust.works" +username: "@m_randall@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1724400448 {#4101 : 2024-08-23 10:07:28.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4043 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4045 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4038 …} +entries: Doctrine\ORM\PersistentCollection {#4036 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4033 …} +entryComments: Doctrine\ORM\PersistentCollection {#4031 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4029 …} +posts: Doctrine\ORM\PersistentCollection {#4026 …} +postVotes: Doctrine\ORM\PersistentCollection {#4024 …} +postComments: Doctrine\ORM\PersistentCollection {#4021 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4019 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4017 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4014 …} +follows: Doctrine\ORM\PersistentCollection {#4012 …} +followers: Doctrine\ORM\PersistentCollection {#4010 …} +blocks: Doctrine\ORM\PersistentCollection {#4159 …} +blockers: Doctrine\ORM\PersistentCollection {#4154 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4138 …} +reports: Doctrine\ORM\PersistentCollection {#4127 …} +favourites: Doctrine\ORM\PersistentCollection {#4100 …} +violations: Doctrine\ORM\PersistentCollection {#4160 …} +notifications: Doctrine\ORM\PersistentCollection {#4156 …} +awards: Doctrine\ORM\PersistentCollection {#4119 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4146 …} +categories: Doctrine\ORM\PersistentCollection {#4149 …} -id: 27897 -password: "$2y$13$u8xumqyaF83hSPFrzM1jwO5iRW6NMhMZjFmkEqpA1zN4ZOtQvfym." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4147 …} +apId: "m_randall@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/m_randall" +apPublicUrl: "https://sh.itjust.works/u/m_randall" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "m_randall" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1705015751 {#4097 : 2024-01-12 00:29:11.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689383383 {#4095 : 2023-07-15 03:09:43.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ Can you use json_attributes instead of the state for the value?\n \n Give this a read for some ideas:\n \n [community.home-assistant.io/t/…/20](https://community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20) """ +lang: "en" +isAdult: false +favouriteCount: 4 +score: 0 +lastActive: DateTime @1723163604 {#4102 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4091 …} +nested: Doctrine\ORM\PersistentCollection {#4089 …} +votes: Doctrine\ORM\PersistentCollection {#4087 …} +reports: Doctrine\ORM\PersistentCollection {#4085 …} +favourites: Doctrine\ORM\PersistentCollection {#4053 …} +notifications: Doctrine\ORM\PersistentCollection {#4057 …} -id: 305072 -bodyTs: "'/20':23 '/t/':22 '/t/rest-sensor-state-max-length-is-255-characters/31807/20)':26 'attribut':5 'community.home-assistant.io':21,25 'community.home-assistant.io/t/':20 'community.home-assistant.io/t/rest-sensor-state-max-length-is-255-characters/31807/20)':24 'give':13 'idea':19 'instead':6 'json':4 'read':16 'state':9 'use':3 'valu':12" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7488393" +editedAt: null +createdAt: DateTimeImmutable @1705152104 {#4034 : 2024-01-13 14:21:44.0 +01:00 } } +root: App\Entity\EntryComment {#4093} +body: "Thank you, thats it :)" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1705229838 {#4215 : 2024-01-14 11:57:18.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@m_randall@sh.itjust.works" ] +children: Doctrine\ORM\PersistentCollection {#4218 …} +nested: Doctrine\ORM\PersistentCollection {#4222 …} +votes: Doctrine\ORM\PersistentCollection {#4224 …} +reports: Doctrine\ORM\PersistentCollection {#4225 …} +favourites: Doctrine\ORM\PersistentCollection {#4227 …} +notifications: Doctrine\ORM\PersistentCollection {#4229 …} -id: 307554 -bodyTs: "'thank':1 'that':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6681647" +editedAt: null +createdAt: DateTimeImmutable @1705229838 {#4212 : 2024-01-14 11:57:18.0 +01:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 14.0 MiB | 38.78 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#5617 +comment: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 1 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 14.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#5662 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5717 +date: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 14.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#5771 +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.39 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#5825 +width: 40 +height: 40 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 14.0 MiB | 0.39 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#5896 +subject: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 14.0 MiB | 0.61 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#5953 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 14.0 MiB | 28.55 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#6193 +comment: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +nestedComments: [ 305438 => App\Entity\EntryComment {#4233 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139} +root: App\Entity\EntryComment {#4139} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4231 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4235 …} +nested: Doctrine\ORM\PersistentCollection {#4237 …} +votes: Doctrine\ORM\PersistentCollection {#4239 …} +reports: Doctrine\ORM\PersistentCollection {#4241 …} +favourites: Doctrine\ORM\PersistentCollection {#4243 …} +notifications: Doctrine\ORM\PersistentCollection {#4245 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } 306303 => App\Entity\EntryComment {#4250 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139} +root: App\Entity\EntryComment {#4139} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4247 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4252 …} +nested: Doctrine\ORM\PersistentCollection {#4254 …} +votes: Doctrine\ORM\PersistentCollection {#4256 …} +reports: Doctrine\ORM\PersistentCollection {#4258 …} +favourites: Doctrine\ORM\PersistentCollection {#4260 …} +notifications: Doctrine\ORM\PersistentCollection {#4262 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } ] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 14.0 MiB | 16.92 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4233 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4231 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4235 …} +nested: Doctrine\ORM\PersistentCollection {#4237 …} +votes: Doctrine\ORM\PersistentCollection {#4239 …} +reports: Doctrine\ORM\PersistentCollection {#4241 …} +favourites: Doctrine\ORM\PersistentCollection {#4243 …} +notifications: Doctrine\ORM\PersistentCollection {#4245 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#6253 +comment: App\Entity\EntryComment {#4233 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4231 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4235 …} +nested: Doctrine\ORM\PersistentCollection {#4237 …} +votes: Doctrine\ORM\PersistentCollection {#4239 …} +reports: Doctrine\ORM\PersistentCollection {#4241 …} +favourites: Doctrine\ORM\PersistentCollection {#4243 …} +notifications: Doctrine\ORM\PersistentCollection {#4245 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 2 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 14.0 MiB | 7.95 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#6298 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#6416 +date: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 14.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#6470 +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#6524 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 14.0 MiB | 0.40 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4233 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4231 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4235 …} +nested: Doctrine\ORM\PersistentCollection {#4237 …} +votes: Doctrine\ORM\PersistentCollection {#4239 …} +reports: Doctrine\ORM\PersistentCollection {#4241 …} +favourites: Doctrine\ORM\PersistentCollection {#4243 …} +notifications: Doctrine\ORM\PersistentCollection {#4245 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#6593 +subject: App\Entity\EntryComment {#4233 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4231 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4235 …} +nested: Doctrine\ORM\PersistentCollection {#4237 …} +votes: Doctrine\ORM\PersistentCollection {#4239 …} +reports: Doctrine\ORM\PersistentCollection {#4241 …} +favourites: Doctrine\ORM\PersistentCollection {#4243 …} +notifications: Doctrine\ORM\PersistentCollection {#4245 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 14.0 MiB | 0.70 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4233 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4231 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4235 …} +nested: Doctrine\ORM\PersistentCollection {#4237 …} +votes: Doctrine\ORM\PersistentCollection {#4239 …} +reports: Doctrine\ORM\PersistentCollection {#4241 …} +favourites: Doctrine\ORM\PersistentCollection {#4243 …} +notifications: Doctrine\ORM\PersistentCollection {#4245 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#6650 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4233 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4231 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4235 …} +nested: Doctrine\ORM\PersistentCollection {#4237 …} +votes: Doctrine\ORM\PersistentCollection {#4239 …} +reports: Doctrine\ORM\PersistentCollection {#4241 …} +favourites: Doctrine\ORM\PersistentCollection {#4243 …} +notifications: Doctrine\ORM\PersistentCollection {#4245 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 14.0 MiB | 3.34 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4233 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4231 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4235 …} +nested: Doctrine\ORM\PersistentCollection {#4237 …} +votes: Doctrine\ORM\PersistentCollection {#4239 …} +reports: Doctrine\ORM\PersistentCollection {#4241 …} +favourites: Doctrine\ORM\PersistentCollection {#4243 …} +notifications: Doctrine\ORM\PersistentCollection {#4245 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#6890 +comment: App\Entity\EntryComment {#4233 +user: Proxies\__CG__\App\Entity\User {#4234 +avatar: null +cover: null +email: "stevedidwhat_infosec@infosec.pub" +username: "@stevedidwhat_infosec@infosec.pub" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723795480 {#6338 : 2024-08-16 10:04:40.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6343 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6346 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6348 …} +entries: Doctrine\ORM\PersistentCollection {#6350 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6352 …} +entryComments: Doctrine\ORM\PersistentCollection {#6354 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6356 …} +posts: Doctrine\ORM\PersistentCollection {#6358 …} +postVotes: Doctrine\ORM\PersistentCollection {#6360 …} +postComments: Doctrine\ORM\PersistentCollection {#6362 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6364 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6366 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6368 …} +follows: Doctrine\ORM\PersistentCollection {#6370 …} +followers: Doctrine\ORM\PersistentCollection {#6372 …} +blocks: Doctrine\ORM\PersistentCollection {#6374 …} +blockers: Doctrine\ORM\PersistentCollection {#6376 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6378 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6380 …} +reports: Doctrine\ORM\PersistentCollection {#6382 …} +favourites: Doctrine\ORM\PersistentCollection {#6384 …} +violations: Doctrine\ORM\PersistentCollection {#6386 …} +notifications: Doctrine\ORM\PersistentCollection {#6388 …} +awards: Doctrine\ORM\PersistentCollection {#6390 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6392 …} +categories: Doctrine\ORM\PersistentCollection {#6394 …} -id: 79108 -password: "$2y$13$P6MZ3xB1gPqtnfaVCUKOQOamsJTkGYf7kV.wCQUH2/QOVziqK9F/O" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6396 …} +apId: "stevedidwhat_infosec@infosec.pub" +apProfileId: "https://infosec.pub/u/stevedidwhat_infosec" +apPublicUrl: "https://infosec.pub/u/stevedidwhat_infosec" +apFollowersUrl: null +apInboxUrl: "https://infosec.pub/inbox" +apDomain: "infosec.pub" +apPreferredUsername: "stevedidwhat_infosec" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703098234 {#6335 : 2023-12-20 19:50:34.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1701155592 {#6337 : 2023-11-28 08:13:12.0 +01:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Nah the door daemon was set to OpenD" +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1705159399 {#4231 : 2024-01-13 16:23:19.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4235 …} +nested: Doctrine\ORM\PersistentCollection {#4237 …} +votes: Doctrine\ORM\PersistentCollection {#4239 …} +reports: Doctrine\ORM\PersistentCollection {#4241 …} +favourites: Doctrine\ORM\PersistentCollection {#4243 …} +notifications: Doctrine\ORM\PersistentCollection {#4245 …} -id: 305438 -bodyTs: "'daemon':4 'door':3 'nah':1 'opend':8 'set':6" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://infosec.pub/comment/5650925" +editedAt: null +createdAt: DateTimeImmutable @1705159399 {#4232 : 2024-01-13 16:23:19.0 +01:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 14.0 MiB | 9.47 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4250 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4247 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4252 …} +nested: Doctrine\ORM\PersistentCollection {#4254 …} +votes: Doctrine\ORM\PersistentCollection {#4256 …} +reports: Doctrine\ORM\PersistentCollection {#4258 …} +favourites: Doctrine\ORM\PersistentCollection {#4260 …} +notifications: Doctrine\ORM\PersistentCollection {#4262 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#6956 +comment: App\Entity\EntryComment {#4250 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4247 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4252 …} +nested: Doctrine\ORM\PersistentCollection {#4254 …} +votes: Doctrine\ORM\PersistentCollection {#4256 …} +reports: Doctrine\ORM\PersistentCollection {#4258 …} +favourites: Doctrine\ORM\PersistentCollection {#4260 …} +notifications: Doctrine\ORM\PersistentCollection {#4262 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 2 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 14.0 MiB | 0.64 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#7001 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#7115 +date: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } "editedAt" => DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#7169 +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.40 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#7223 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 14.0 MiB | 0.44 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4250 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4247 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4252 …} +nested: Doctrine\ORM\PersistentCollection {#4254 …} +votes: Doctrine\ORM\PersistentCollection {#4256 …} +reports: Doctrine\ORM\PersistentCollection {#4258 …} +favourites: Doctrine\ORM\PersistentCollection {#4260 …} +notifications: Doctrine\ORM\PersistentCollection {#4262 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#7294 +subject: App\Entity\EntryComment {#4250 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4247 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4252 …} +nested: Doctrine\ORM\PersistentCollection {#4254 …} +votes: Doctrine\ORM\PersistentCollection {#4256 …} +reports: Doctrine\ORM\PersistentCollection {#4258 …} +favourites: Doctrine\ORM\PersistentCollection {#4260 …} +notifications: Doctrine\ORM\PersistentCollection {#4262 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 14.0 MiB | 2.99 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4250 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4247 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4252 …} +nested: Doctrine\ORM\PersistentCollection {#4254 …} +votes: Doctrine\ORM\PersistentCollection {#4256 …} +reports: Doctrine\ORM\PersistentCollection {#4258 …} +favourites: Doctrine\ORM\PersistentCollection {#4260 …} +notifications: Doctrine\ORM\PersistentCollection {#4262 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#7351 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4250 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4247 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4252 …} +nested: Doctrine\ORM\PersistentCollection {#4254 …} +votes: Doctrine\ORM\PersistentCollection {#4256 …} +reports: Doctrine\ORM\PersistentCollection {#4258 …} +favourites: Doctrine\ORM\PersistentCollection {#4260 …} +notifications: Doctrine\ORM\PersistentCollection {#4262 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 14.0 MiB | 0.46 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4250 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4247 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4252 …} +nested: Doctrine\ORM\PersistentCollection {#4254 …} +votes: Doctrine\ORM\PersistentCollection {#4256 …} +reports: Doctrine\ORM\PersistentCollection {#4258 …} +favourites: Doctrine\ORM\PersistentCollection {#4260 …} +notifications: Doctrine\ORM\PersistentCollection {#4262 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#7281 +comment: App\Entity\EntryComment {#4250 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2412 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +image: Proxies\__CG__\App\Entity\Image {#1943 …} +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +slug: "Try-to-create-an-absence-event-log-Card" +title: "Try to create an absence event log Card" +url: "https://lemmy.world/pictrs/image/8580aa34-9960-4955-af97-8171a6c9906a.png" +body: """ Im trying to create an event log Card that will show important events during absence, like shown in the attached screenshot.\n \n The decision, what is relevant and how its displayed, can be done by node red (i already started to create the flows)\n \n Node Red puts the events in a .txt file. To show this Log on my Dashboard, i tried the following: A command sensor is putting the content of the .txt in a sensor.\n \n ```\n \n <span style="color:#323232;">command_line:\n </span><span style="color:#323232;"> - sensor:\n </span><span style="color:#323232;"> command: 'cat /share/test.txt'\n </span><span style="color:#323232;"> name: awaylog\n </span><span style="color:#323232;">\n </span>\n ```\n \n The .txt file already includs the formating for the text to be shown as alert-types (colored row with related icon). The sensor is then used in a Markdown Card.\n \n Problem is, the sensor only seems to be capable of storing 255 characters. This limit exeeds quickly. (one alert-type command is already >50 characters) . If it is exeeded the result is shown as “unknown” (screenshot at the top)\n \n Is anybody aware of a solution to avoid this chracter limit. Any other ideas to achiev such an event log ?\n \n #**Edit/Solution**: Thanks to @m_randall@sh.itjust.works I just put the log entries in the json_attributes of the sensor and used the actual sensor value (because only this is limited to 255 char.) to just count up the number of log entries. Also i skipped the step creating a command sensor in Home assistant config.yaml, instead i used the sensor node to change it directly with node red.\n \n **Node-red sensor node config:**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">state = msg.logcount\n </span><span style="color:#323232;">json_attributes = msg.payload (formated log entry list)\n </span>\n ```\n \n **Markdown card**\n \n ```\n \n <span style="color:#323232;">\n </span><span style="color:#323232;">type: markdown\n </span><span style="color:#323232;">entity_id:\n </span><span style="color:#323232;"> - sensor.absencelog_2\n </span><span style="color:#323232;">content: |\n </span><span style="color:#323232;"> ## Absence Events\n </span><span style="color:#323232;"> {{state_attr('sensor.absencelog_2', 'json_attributes')}}\n </span><span style="color:#323232;"> \n </span><span style="color:#323232;"> *This list will be deleted when Marge is home again*\n </span>\n ```\n \n *ps. Marge got a new phonenumber :P* """ +type: "image" +lang: "en" +isOc: false +hasEmbed: true +commentCount: 5 +favouriteCount: 40 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1723163604 {#2410 : 2024-08-09 02:33:24.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: [ "@m_randall@sh.itjust.works" ] +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 29672 -titleTs: "'absenc':5 'card':8 'creat':3 'event':6 'log':7 'tri':1" -bodyTs: "'/share/test.txt':82 '2':264,271 '255':127,205 '50':140 'absenc':15,266 'achiev':171 'actual':196 'alert':100,135 'alert-typ':99,134 'alreadi':38,88,139 'also':216 'anybodi':157 'assist':227 'attach':20 'attr':269 'attribut':189,251,273 'avoid':163 'awar':158 'awaylog':84 'capabl':124 'card':8,115,258 'cat':81 'chang':236 'char':206 'charact':128,141 'chracter':165 'color':102 'command':65,77,80,137,223 'config':247 'config.yaml':228 'content':70,265 'count':209 'creat':4,41,221 'dashboard':59 'decis':23 'delet':278 'direct':238 'display':30 'done':33 'edit/solution':176 'entiti':261 'entri':185,215,255 'event':6,13,48,174,267 'exe':131 'exeed':145 'file':52,87 'flow':43 'follow':63 'format':91,253 'got':286 'home':226,282 'icon':106 'id':262 'idea':169 'im':1 'import':12 'includ':89 'instead':229 'json':188,250,272 'like':16 'limit':130,166,203 'line':78 'list':256,275 'log':7,56,175,184,214,254 'm_randall@sh.itjust.works':179 'marg':280,285 'markdown':114,257,260 'msg.logcount':249 'msg.payload':252 'name':83 'new':288 'node':35,44,234,240,243,246 'node-r':242 'number':212 'one':133 'p':290 'phonenumb':289 'problem':116 'ps':284 'put':46,68,182 'quick':132 'red':36,45,241,244 'relat':105 'relev':26 'result':147 'row':103 'screenshot':21,152 'seem':121 'sensor':66,76,79,108,119,192,197,224,233,245 'sensor.absencelog':263,270 'show':11,54 'shown':17,97,149 'skip':218 'solut':161 'start':39 'state':248,268 'step':220 'store':126 'text':94 'thank':177 'top':155 'tri':2,61 'txt':51,73,86 'type':101,136,259 'unknown':151 'use':111,194,231 'valu':198" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1705236764 +visibility: "visible " +apId: "https://lemmy.world/post/10659194" +editedAt: DateTimeImmutable @1723165817 {#1850 : 2024-08-09 03:10:17.0 +02:00 } +createdAt: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4139 +user: App\Entity\User {#4123 +avatar: Proxies\__CG__\App\Entity\Image {#4121 …} +cover: Proxies\__CG__\App\Entity\Image {#4118 …} +email: "LazaroFilm@lemmy.world" +username: "@LazaroFilm@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729433884 {#4144 : 2024-10-20 16:18:04.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4117 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4115 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4113 …} +entries: Doctrine\ORM\PersistentCollection {#4111 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4109 …} +entryComments: Doctrine\ORM\PersistentCollection {#4107 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4105 …} +posts: Doctrine\ORM\PersistentCollection {#4103 …} +postVotes: Doctrine\ORM\PersistentCollection {#4164 …} +postComments: Doctrine\ORM\PersistentCollection {#4167 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4169 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4171 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4173 …} +follows: Doctrine\ORM\PersistentCollection {#4175 …} +followers: Doctrine\ORM\PersistentCollection {#4177 …} +blocks: Doctrine\ORM\PersistentCollection {#4179 …} +blockers: Doctrine\ORM\PersistentCollection {#4181 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4183 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4185 …} +reports: Doctrine\ORM\PersistentCollection {#4187 …} +favourites: Doctrine\ORM\PersistentCollection {#4189 …} +violations: Doctrine\ORM\PersistentCollection {#4191 …} +notifications: Doctrine\ORM\PersistentCollection {#4193 …} +awards: Doctrine\ORM\PersistentCollection {#4195 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4197 …} +categories: Doctrine\ORM\PersistentCollection {#4199 …} -id: 8930 -password: "$2y$13$tDgtUTbAxkm2yS64LT07Le6x0WZVO1o7Hi0NB8KXi2vkr2pM/TzEO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4201 …} +apId: "LazaroFilm@lemmy.world" +apProfileId: "https://lemmy.world/u/LazaroFilm" +apPublicUrl: "https://lemmy.world/u/LazaroFilm" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "LazaroFilm" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729544252 {#4141 : 2024-10-21 22:57:32.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687516815 {#4137 : 2023-06-23 12:40:15.0 +02:00 } } +entry: App\Entity\Entry {#2412} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: "Door was opened*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1722857049 {#4145 : 2024-08-05 13:24:09.0 +02:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4131 …} +nested: Doctrine\ORM\PersistentCollection {#4134 …} +votes: Doctrine\ORM\PersistentCollection {#4132 …} +reports: Doctrine\ORM\PersistentCollection {#4130 …} +favourites: Doctrine\ORM\PersistentCollection {#4129 …} +notifications: Doctrine\ORM\PersistentCollection {#4120 …} -id: 305330 -bodyTs: "'door':1 'open':3" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/6645544" +editedAt: null +createdAt: DateTimeImmutable @1705156936 {#4143 : 2024-01-13 15:42:16.0 +01:00 } } +root: App\Entity\EntryComment {#4139} +body: "Marge was doxxed*" +lang: "en" +isAdult: false +favouriteCount: 3 +score: 0 +lastActive: DateTime @1705182999 {#4247 : 2024-01-13 22:56:39.0 +01:00 } +ip: null +tags: null +mentions: [ "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" "@Streusel@lemmy.world" "@LazaroFilm@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4252 …} +nested: Doctrine\ORM\PersistentCollection {#4254 …} +votes: Doctrine\ORM\PersistentCollection {#4256 …} +reports: Doctrine\ORM\PersistentCollection {#4258 …} +favourites: Doctrine\ORM\PersistentCollection {#4260 …} +notifications: Doctrine\ORM\PersistentCollection {#4262 …} -id: 306303 -bodyTs: "'doxx':3 'marg':1" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://sh.itjust.works/comment/7503802" +editedAt: DateTimeImmutable @1722857249 {#4248 : 2024-08-05 13:27:29.0 +02:00 } +createdAt: DateTimeImmutable @1705182999 {#4249 : 2024-01-13 22:56:39.0 +01:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 14.0 MiB | 0.33 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sidebar position" "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION" "values" => [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] "defaultValue" => "RIGHT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#7519 +label: "Sidebar position" +help: "" +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION" +values: [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] +defaultValue: "RIGHT" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "label" => "Dynamic lists" "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7583 +label: "Dynamic lists" +help: "" +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "label" => "Rounded edges" "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7648 +label: "Rounded edges" +help: "" +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.25 ms | |
---|---|---|---|---|
Input props | [ "label" => "Infinite scrolling" "help" => "Automatically load more content when you reach the bottom of the page." "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7704 +label: "Infinite scrolling" +help: "Automatically load more content when you reach the bottom of the page." +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sticky navbar" "help" => "The navbar will stick to the top of the page when you scroll down." "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7763 +label: "Sticky navbar" +help: "The navbar will stick to the top of the page when you scroll down." +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show top bar" "settingsKey" => "KBIN_GENERAL_TOPBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7819 +label: "Show top bar" +help: "" +settingsKey: "KBIN_GENERAL_TOPBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Turbo mode (experimental)" "settingsKey" => "KBIN_GENERAL_TURBO" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7875 +label: "Turbo mode (experimental)" +help: "" +settingsKey: "KBIN_GENERAL_TURBO" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 14.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "label" => "Mark new comments" "settingsKey" => "KBIN_MARK_NEW_COMMENTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#7933 +label: "Mark new comments" +help: "" +settingsKey: "KBIN_MARK_NEW_COMMENTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show "Support Us" block" "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7996 +label: "Show "Support Us" block" +help: "" +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK" +defaultValue: true +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 14.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed users" "settingsKey" => "KBIN_SUB_CHANNEL_USERS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8054 +label: "Show subscribed users" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_USERS" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 14.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed magazines" "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8110 +label: "Show subscribed magazines" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 14.0 MiB | 4.38 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed domains" "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8166 +label: "Show subscribed domains" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8222 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "label" => "Compact view" "settingsKey" => "KBIN_ENTRIES_COMPACT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8278 +label: "Compact view" +help: "" +settingsKey: "KBIN_ENTRIES_COMPACT" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8334 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.21 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show magazines’ icons" "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8390 +label: "Show magazines’ icons" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.22 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show thumbnails" "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8446 +label: "Show thumbnails" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS" +defaultValue: true +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.21 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8502 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_POSTS_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.22 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8558 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS" +defaultValue: true +reloadRequired: true } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 14.0 MiB | 0.28 ms | |
---|---|---|---|---|
Input props | [ "label" => "Comment reply position" "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION" "values" => [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] "defaultValue" => "TOP" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#8614 +label: "Comment reply position" +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." +settingsKey: "KBIN_COMMENTS_REPLY_POSITION" +values: [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] +defaultValue: "TOP" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.22 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show Comment Avatars" "help" => "Display/hide user avatars when viewing comments on a single thread or post." "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8672 +label: "Show Comment Avatars" +help: "Display/hide user avatars when viewing comments on a single thread or post." +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR" +defaultValue: true +reloadRequired: true } |
user_actions | App\Twig\Components\UserActionsComponent | 14.0 MiB | 0.68 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserActionsComponent {#8749 +user: Proxies\__CG__\App\Entity\User {#1970 +avatar: null +cover: null +email: "Streusel@lemmy.world" +username: "@Streusel@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1723163604 {#1519 : 2024-08-09 02:33:24.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …} +entries: Doctrine\ORM\PersistentCollection {#1742 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …} +entryComments: Doctrine\ORM\PersistentCollection {#1747 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …} +posts: Doctrine\ORM\PersistentCollection {#1750 …} +postVotes: Doctrine\ORM\PersistentCollection {#1493 …} +postComments: Doctrine\ORM\PersistentCollection {#1778 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …} +follows: Doctrine\ORM\PersistentCollection {#1447 …} +followers: Doctrine\ORM\PersistentCollection {#1450 …} +blocks: Doctrine\ORM\PersistentCollection {#1462 …} +blockers: Doctrine\ORM\PersistentCollection {#1427 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …} +reports: Doctrine\ORM\PersistentCollection {#1463 …} +favourites: Doctrine\ORM\PersistentCollection {#1699 …} +violations: Doctrine\ORM\PersistentCollection {#1690 …} +notifications: Doctrine\ORM\PersistentCollection {#1696 …} +awards: Doctrine\ORM\PersistentCollection {#1694 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …} +categories: Doctrine\ORM\PersistentCollection {#1676 …} -id: 69609 -password: "$2y$13$8Gc.ErqS4s9cG6rBOedL2Ocm5P3KIrYqaAVIqOY9HgCxGbU73oX9K" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …} +apId: "Streusel@lemmy.world" +apProfileId: "https://lemmy.world/u/Streusel" +apPublicUrl: "https://lemmy.world/u/Streusel" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "Streusel" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1723472298 {#1515 : 2024-08-12 16:18:18.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698893095 {#1518 : 2023-11-02 03:44:55.0 +01:00 } +__isInitialized__: true …2 } } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 0.21 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#8810 +date: DateTimeImmutable @1705150364 {#2420 : 2024-01-13 13:52:44.0 +01:00 } } |
magazine_box | App\Twig\Components\MagazineBoxComponent | 14.0 MiB | 10.65 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } "showSectionTitle" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineBoxComponent {#8866 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } +showCover: true +showDescription: true +showRules: true +showSubscribeButton: true +showInfo: true +showMeta: true +showSectionTitle: true +stretchedLink: true } |
magazine_sub | App\Twig\Components\MagazineSubComponent | 14.0 MiB | 0.71 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineSubComponent {#8925 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 2.34 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#9001 +date: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } |
user_inline | App\Twig\Components\UserInlineComponent | 14.0 MiB | 1.27 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#9060 +avatar: null +cover: null +email: "kbin@j0h.nl" +username: "Sprite_tm" +roles: [ "ROLE_ADMIN" ] +followersCount: 0 +homepage: "front" +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com." +lastActive: DateTime @1707547382 {#9107 : 2024-02-10 07:43:02.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: true +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9109 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9111 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9113 …} +entries: Doctrine\ORM\PersistentCollection {#9115 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9117 …} +entryComments: Doctrine\ORM\PersistentCollection {#9119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9121 …} +posts: Doctrine\ORM\PersistentCollection {#9123 …} +postVotes: Doctrine\ORM\PersistentCollection {#9125 …} +postComments: Doctrine\ORM\PersistentCollection {#9127 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9129 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9131 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9133 …} +follows: Doctrine\ORM\PersistentCollection {#9135 …} +followers: Doctrine\ORM\PersistentCollection {#9137 …} +blocks: Doctrine\ORM\PersistentCollection {#9139 …} +blockers: Doctrine\ORM\PersistentCollection {#9141 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9143 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9145 …} +reports: Doctrine\ORM\PersistentCollection {#9147 …} +favourites: Doctrine\ORM\PersistentCollection {#9149 …} +violations: Doctrine\ORM\PersistentCollection {#9151 …} +notifications: Doctrine\ORM\PersistentCollection {#9153 …} +awards: Doctrine\ORM\PersistentCollection {#9155 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9157 …} +categories: Doctrine\ORM\PersistentCollection {#9159 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9161 …} +apId: null +apProfileId: null +apPublicUrl: null +apFollowersUrl: null +apInboxUrl: null +apDomain: null +apPreferredUsername: null +apDiscoverable: null +apManuallyApprovesFollowers: null +privateKey: """ -----BEGIN PRIVATE KEY-----\r\n MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n 31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n 7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n 1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n -----END PRIVATE KEY----- """ +publicKey: """ -----BEGIN PUBLIC KEY-----\r\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n 55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n 60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n 2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n -----END PUBLIC KEY----- """ +apFetchedAt: null +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686560440 {#9108 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#9078 +user: Proxies\__CG__\App\Entity\User {#9060 +avatar: null +cover: null +email: "kbin@j0h.nl" +username: "Sprite_tm" +roles: [ "ROLE_ADMIN" ] +followersCount: 0 +homepage: "front" +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com." +lastActive: DateTime @1707547382 {#9107 : 2024-02-10 07:43:02.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: true +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9109 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9111 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9113 …} +entries: Doctrine\ORM\PersistentCollection {#9115 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9117 …} +entryComments: Doctrine\ORM\PersistentCollection {#9119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9121 …} +posts: Doctrine\ORM\PersistentCollection {#9123 …} +postVotes: Doctrine\ORM\PersistentCollection {#9125 …} +postComments: Doctrine\ORM\PersistentCollection {#9127 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9129 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9131 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9133 …} +follows: Doctrine\ORM\PersistentCollection {#9135 …} +followers: Doctrine\ORM\PersistentCollection {#9137 …} +blocks: Doctrine\ORM\PersistentCollection {#9139 …} +blockers: Doctrine\ORM\PersistentCollection {#9141 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9143 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9145 …} +reports: Doctrine\ORM\PersistentCollection {#9147 …} +favourites: Doctrine\ORM\PersistentCollection {#9149 …} +violations: Doctrine\ORM\PersistentCollection {#9151 …} +notifications: Doctrine\ORM\PersistentCollection {#9153 …} +awards: Doctrine\ORM\PersistentCollection {#9155 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9157 …} +categories: Doctrine\ORM\PersistentCollection {#9159 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9161 …} +apId: null +apProfileId: null +apPublicUrl: null +apFollowersUrl: null +apInboxUrl: null +apDomain: null +apPreferredUsername: null +apDiscoverable: null +apManuallyApprovesFollowers: null +privateKey: """ -----BEGIN PRIVATE KEY-----\r\n MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n 31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n 7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n 1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n -----END PRIVATE KEY----- """ +publicKey: """ -----BEGIN PUBLIC KEY-----\r\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n 55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n 60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n 2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n -----END PUBLIC KEY----- """ +apFetchedAt: null +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686560440 {#9108 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: true } |
related_magazines | App\Twig\Components\RelatedMagazinesComponent | 14.0 MiB | 27.95 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "homeassistant@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedMagazinesComponent {#9269 +limit: 4 +tag: null +magazine: "homeassistant@lemmy.world" +type: "magazine" +title: "related_magazines" +refreshedRandom: false -repository: App\Repository\MagazineRepository {#334 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
active_users | App\Twig\Components\ActiveUsersComponent | 14.0 MiB | 25.53 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\ActiveUsersComponent {#9395 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } -userRepository: App\Repository\UserRepository {#603 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.55 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9671 +avatar: Proxies\__CG__\App\Entity\Image {#9672 …} +cover: null +email: "scrubbles@poptalk.scrubbles.tech" +username: "@scrubbles@poptalk.scrubbles.tech" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Little bit of everything!\n \n Avid Swiftie (come join us at [!taylorswift@poptalk.scrubbles.tech](https://poptalk.scrubbles.tech/c/taylorswift) )\n \n Gaming (Mass Effect, Witcher, and too much Satisfactory)\n \n Sci-fi\n \n I live for 90s TV sitcoms """ +lastActive: DateTime @1729501239 {#9676 : 2024-10-21 11:00:39.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9669 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9667 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9665 …} +entries: Doctrine\ORM\PersistentCollection {#9663 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9661 …} +entryComments: Doctrine\ORM\PersistentCollection {#9659 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9657 …} +posts: Doctrine\ORM\PersistentCollection {#9655 …} +postVotes: Doctrine\ORM\PersistentCollection {#9653 …} +postComments: Doctrine\ORM\PersistentCollection {#9651 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9649 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9647 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9645 …} +follows: Doctrine\ORM\PersistentCollection {#9643 …} +followers: Doctrine\ORM\PersistentCollection {#9641 …} +blocks: Doctrine\ORM\PersistentCollection {#9639 …} +blockers: Doctrine\ORM\PersistentCollection {#9637 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9635 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9633 …} +reports: Doctrine\ORM\PersistentCollection {#9631 …} +favourites: Doctrine\ORM\PersistentCollection {#9629 …} +violations: Doctrine\ORM\PersistentCollection {#9627 …} +notifications: Doctrine\ORM\PersistentCollection {#9623 …} +awards: Doctrine\ORM\PersistentCollection {#9620 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9790 …} +categories: Doctrine\ORM\PersistentCollection {#9792 …} -id: 9624 -password: "$2y$13$1v2Qw3gxm1STOexDaxoXW.x6ZqSMLnlC/txRHVswniIgILv6Mocli" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9794 …} +apId: "scrubbles@poptalk.scrubbles.tech" +apProfileId: "https://poptalk.scrubbles.tech/u/scrubbles" +apPublicUrl: "https://poptalk.scrubbles.tech/u/scrubbles" +apFollowersUrl: null +apInboxUrl: "https://poptalk.scrubbles.tech/inbox" +apDomain: "poptalk.scrubbles.tech" +apPreferredUsername: "scrubbles" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729412241 {#9673 : 2024-10-20 10:17:21.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687552207 {#9674 : 2023-06-23 22:30:07.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#9451 +width: 65 +height: 65 +user: App\Entity\User {#9671 +avatar: Proxies\__CG__\App\Entity\Image {#9672 …} +cover: null +email: "scrubbles@poptalk.scrubbles.tech" +username: "@scrubbles@poptalk.scrubbles.tech" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Little bit of everything!\n \n Avid Swiftie (come join us at [!taylorswift@poptalk.scrubbles.tech](https://poptalk.scrubbles.tech/c/taylorswift) )\n \n Gaming (Mass Effect, Witcher, and too much Satisfactory)\n \n Sci-fi\n \n I live for 90s TV sitcoms """ +lastActive: DateTime @1729501239 {#9676 : 2024-10-21 11:00:39.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9669 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9667 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9665 …} +entries: Doctrine\ORM\PersistentCollection {#9663 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9661 …} +entryComments: Doctrine\ORM\PersistentCollection {#9659 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9657 …} +posts: Doctrine\ORM\PersistentCollection {#9655 …} +postVotes: Doctrine\ORM\PersistentCollection {#9653 …} +postComments: Doctrine\ORM\PersistentCollection {#9651 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9649 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9647 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9645 …} +follows: Doctrine\ORM\PersistentCollection {#9643 …} +followers: Doctrine\ORM\PersistentCollection {#9641 …} +blocks: Doctrine\ORM\PersistentCollection {#9639 …} +blockers: Doctrine\ORM\PersistentCollection {#9637 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9635 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9633 …} +reports: Doctrine\ORM\PersistentCollection {#9631 …} +favourites: Doctrine\ORM\PersistentCollection {#9629 …} +violations: Doctrine\ORM\PersistentCollection {#9627 …} +notifications: Doctrine\ORM\PersistentCollection {#9623 …} +awards: Doctrine\ORM\PersistentCollection {#9620 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9790 …} +categories: Doctrine\ORM\PersistentCollection {#9792 …} -id: 9624 -password: "$2y$13$1v2Qw3gxm1STOexDaxoXW.x6ZqSMLnlC/txRHVswniIgILv6Mocli" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9794 …} +apId: "scrubbles@poptalk.scrubbles.tech" +apProfileId: "https://poptalk.scrubbles.tech/u/scrubbles" +apPublicUrl: "https://poptalk.scrubbles.tech/u/scrubbles" +apFollowersUrl: null +apInboxUrl: "https://poptalk.scrubbles.tech/inbox" +apDomain: "poptalk.scrubbles.tech" +apPreferredUsername: "scrubbles" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729412241 {#9673 : 2024-10-20 10:17:21.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687552207 {#9674 : 2023-06-23 22:30:07.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.42 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9799 +avatar: Proxies\__CG__\App\Entity\Image {#9800 …} +cover: null +email: "ikidd@lemmy.world" +username: "@ikidd@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1729466951 {#9796 : 2024-10-21 01:29:11.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9801 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9803 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9805 …} +entries: Doctrine\ORM\PersistentCollection {#9807 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9809 …} +entryComments: Doctrine\ORM\PersistentCollection {#9811 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9813 …} +posts: Doctrine\ORM\PersistentCollection {#9815 …} +postVotes: Doctrine\ORM\PersistentCollection {#9817 …} +postComments: Doctrine\ORM\PersistentCollection {#9819 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9821 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9823 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9825 …} +follows: Doctrine\ORM\PersistentCollection {#9827 …} +followers: Doctrine\ORM\PersistentCollection {#9829 …} +blocks: Doctrine\ORM\PersistentCollection {#9831 …} +blockers: Doctrine\ORM\PersistentCollection {#9833 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9835 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9837 …} +reports: Doctrine\ORM\PersistentCollection {#9839 …} +favourites: Doctrine\ORM\PersistentCollection {#9841 …} +violations: Doctrine\ORM\PersistentCollection {#9843 …} +notifications: Doctrine\ORM\PersistentCollection {#9845 …} +awards: Doctrine\ORM\PersistentCollection {#9847 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9849 …} +categories: Doctrine\ORM\PersistentCollection {#9851 …} -id: 10091 -password: "$2y$13$Hs01I7h9Qg2.3r7S/UmREenif/tEkQbvUyUBRgrlHdYlemJYd4n.6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9853 …} +apId: "ikidd@lemmy.world" +apProfileId: "https://lemmy.world/u/ikidd" +apPublicUrl: "https://lemmy.world/u/ikidd" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "ikidd" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728268140 {#9797 : 2024-10-07 04:29:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687576792 {#9798 : 2023-06-24 05:19:52.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10026 +width: 65 +height: 65 +user: App\Entity\User {#9799 +avatar: Proxies\__CG__\App\Entity\Image {#9800 …} +cover: null +email: "ikidd@lemmy.world" +username: "@ikidd@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1729466951 {#9796 : 2024-10-21 01:29:11.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9801 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9803 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9805 …} +entries: Doctrine\ORM\PersistentCollection {#9807 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9809 …} +entryComments: Doctrine\ORM\PersistentCollection {#9811 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9813 …} +posts: Doctrine\ORM\PersistentCollection {#9815 …} +postVotes: Doctrine\ORM\PersistentCollection {#9817 …} +postComments: Doctrine\ORM\PersistentCollection {#9819 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9821 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9823 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9825 …} +follows: Doctrine\ORM\PersistentCollection {#9827 …} +followers: Doctrine\ORM\PersistentCollection {#9829 …} +blocks: Doctrine\ORM\PersistentCollection {#9831 …} +blockers: Doctrine\ORM\PersistentCollection {#9833 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9835 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9837 …} +reports: Doctrine\ORM\PersistentCollection {#9839 …} +favourites: Doctrine\ORM\PersistentCollection {#9841 …} +violations: Doctrine\ORM\PersistentCollection {#9843 …} +notifications: Doctrine\ORM\PersistentCollection {#9845 …} +awards: Doctrine\ORM\PersistentCollection {#9847 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9849 …} +categories: Doctrine\ORM\PersistentCollection {#9851 …} -id: 10091 -password: "$2y$13$Hs01I7h9Qg2.3r7S/UmREenif/tEkQbvUyUBRgrlHdYlemJYd4n.6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9853 …} +apId: "ikidd@lemmy.world" +apProfileId: "https://lemmy.world/u/ikidd" +apPublicUrl: "https://lemmy.world/u/ikidd" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "ikidd" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728268140 {#9797 : 2024-10-07 04:29:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687576792 {#9798 : 2023-06-24 05:19:52.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.46 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9782 +avatar: Proxies\__CG__\App\Entity\Image {#9779 …} +cover: Proxies\__CG__\App\Entity\Image {#9774 …} +email: "DeltaTangoLima@reddrefuge.com" +username: "@DeltaTangoLima@reddrefuge.com" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Just an Aussie tech guy - home automation, ESP gadgets, networking. Also love my camping and 4WDing.\n \n Be a good motherfucker. Peace. """ +lastActive: DateTime @1728206804 {#9449 : 2024-10-06 11:26:44.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9628 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9617 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9787 …} +entries: Doctrine\ORM\PersistentCollection {#9786 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9783 …} +entryComments: Doctrine\ORM\PersistentCollection {#9780 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9777 …} +posts: Doctrine\ORM\PersistentCollection {#9776 …} +postVotes: Doctrine\ORM\PersistentCollection {#9626 …} +postComments: Doctrine\ORM\PersistentCollection {#9769 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9767 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9765 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9763 …} +follows: Doctrine\ORM\PersistentCollection {#9761 …} +followers: Doctrine\ORM\PersistentCollection {#9759 …} +blocks: Doctrine\ORM\PersistentCollection {#9757 …} +blockers: Doctrine\ORM\PersistentCollection {#9755 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9753 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9751 …} +reports: Doctrine\ORM\PersistentCollection {#9749 …} +favourites: Doctrine\ORM\PersistentCollection {#9747 …} +violations: Doctrine\ORM\PersistentCollection {#9745 …} +notifications: Doctrine\ORM\PersistentCollection {#9743 …} +awards: Doctrine\ORM\PersistentCollection {#9741 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9739 …} +categories: Doctrine\ORM\PersistentCollection {#9737 …} -id: 7409 -password: "$2y$13$PPzpxxadwj6rnbsXtZV06uAkMX2qpLUMu8q6zzklFbvnVeQxNXaKm" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9735 …} +apId: "DeltaTangoLima@reddrefuge.com" +apProfileId: "https://reddrefuge.com/u/DeltaTangoLima" +apPublicUrl: "https://reddrefuge.com/u/DeltaTangoLima" +apFollowersUrl: null +apInboxUrl: "https://reddrefuge.com/inbox" +apDomain: "reddrefuge.com" +apPreferredUsername: "DeltaTangoLima" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728442483 {#9452 : 2024-10-09 04:54:43.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687467753 {#9785 : 2023-06-22 23:02:33.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10083 +width: 65 +height: 65 +user: App\Entity\User {#9782 +avatar: Proxies\__CG__\App\Entity\Image {#9779 …} +cover: Proxies\__CG__\App\Entity\Image {#9774 …} +email: "DeltaTangoLima@reddrefuge.com" +username: "@DeltaTangoLima@reddrefuge.com" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Just an Aussie tech guy - home automation, ESP gadgets, networking. Also love my camping and 4WDing.\n \n Be a good motherfucker. Peace. """ +lastActive: DateTime @1728206804 {#9449 : 2024-10-06 11:26:44.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9628 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9617 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9787 …} +entries: Doctrine\ORM\PersistentCollection {#9786 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9783 …} +entryComments: Doctrine\ORM\PersistentCollection {#9780 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9777 …} +posts: Doctrine\ORM\PersistentCollection {#9776 …} +postVotes: Doctrine\ORM\PersistentCollection {#9626 …} +postComments: Doctrine\ORM\PersistentCollection {#9769 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9767 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9765 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9763 …} +follows: Doctrine\ORM\PersistentCollection {#9761 …} +followers: Doctrine\ORM\PersistentCollection {#9759 …} +blocks: Doctrine\ORM\PersistentCollection {#9757 …} +blockers: Doctrine\ORM\PersistentCollection {#9755 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9753 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9751 …} +reports: Doctrine\ORM\PersistentCollection {#9749 …} +favourites: Doctrine\ORM\PersistentCollection {#9747 …} +violations: Doctrine\ORM\PersistentCollection {#9745 …} +notifications: Doctrine\ORM\PersistentCollection {#9743 …} +awards: Doctrine\ORM\PersistentCollection {#9741 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9739 …} +categories: Doctrine\ORM\PersistentCollection {#9737 …} -id: 7409 -password: "$2y$13$PPzpxxadwj6rnbsXtZV06uAkMX2qpLUMu8q6zzklFbvnVeQxNXaKm" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9735 …} +apId: "DeltaTangoLima@reddrefuge.com" +apProfileId: "https://reddrefuge.com/u/DeltaTangoLima" +apPublicUrl: "https://reddrefuge.com/u/DeltaTangoLima" +apFollowersUrl: null +apInboxUrl: "https://reddrefuge.com/inbox" +apDomain: "reddrefuge.com" +apPreferredUsername: "DeltaTangoLima" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728442483 {#9452 : 2024-10-09 04:54:43.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687467753 {#9785 : 2023-06-22 23:02:33.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.21 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10140 +width: 65 +height: 65 +user: Proxies\__CG__\App\Entity\User {#4251 +avatar: Proxies\__CG__\App\Entity\Image {#7041 …} +cover: null +email: "ALERT@sh.itjust.works" +username: "@ALERT@sh.itjust.works" +roles: [] +followersCount: 0 +homepage: "front" +about: "Development Automation, Self-Hosted Enthusiast from Kyiv, Ukraine" +lastActive: DateTime @1728749168 {#7038 : 2024-10-12 18:06:08.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#7042 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7044 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#7046 …} +entries: Doctrine\ORM\PersistentCollection {#7048 …} +entryVotes: Doctrine\ORM\PersistentCollection {#7050 …} +entryComments: Doctrine\ORM\PersistentCollection {#7052 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7054 …} +posts: Doctrine\ORM\PersistentCollection {#7056 …} +postVotes: Doctrine\ORM\PersistentCollection {#7058 …} +postComments: Doctrine\ORM\PersistentCollection {#7060 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#7062 …} +subscriptions: Doctrine\ORM\PersistentCollection {#7064 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#7066 …} +follows: Doctrine\ORM\PersistentCollection {#7068 …} +followers: Doctrine\ORM\PersistentCollection {#7070 …} +blocks: Doctrine\ORM\PersistentCollection {#7072 …} +blockers: Doctrine\ORM\PersistentCollection {#7074 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#7076 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#7078 …} +reports: Doctrine\ORM\PersistentCollection {#7080 …} +favourites: Doctrine\ORM\PersistentCollection {#7082 …} +violations: Doctrine\ORM\PersistentCollection {#7084 …} +notifications: Doctrine\ORM\PersistentCollection {#7086 …} +awards: Doctrine\ORM\PersistentCollection {#7088 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#7090 …} +categories: Doctrine\ORM\PersistentCollection {#7092 …} -id: 23696 -password: "$2y$13$iRQgNA1.GqZY1IytcMyRHOg1Ldhko60AdpAQZdHqH5GDZSlzQQraC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7094 …} +apId: "ALERT@sh.itjust.works" +apProfileId: "https://sh.itjust.works/u/ALERT" +apPublicUrl: "https://sh.itjust.works/u/ALERT" +apFollowersUrl: null +apInboxUrl: "https://sh.itjust.works/inbox" +apDomain: "sh.itjust.works" +apPreferredUsername: "ALERT" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727769277 {#7039 : 2024-10-01 09:54:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689109925 {#7040 : 2023-07-11 23:12:05.0 +02:00 } +__isInitialized__: true …2 } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.37 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9549 +avatar: Proxies\__CG__\App\Entity\Image {#9548 …} +cover: Proxies\__CG__\App\Entity\Image {#9547 …} +email: "linearchaos@lemmy.world" +username: "@linearchaos@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "I am a Meat-Popsicle" +lastActive: DateTime @1729308159 {#9552 : 2024-10-19 05:22:39.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9546 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9544 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9542 …} +entries: Doctrine\ORM\PersistentCollection {#9540 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9538 …} +entryComments: Doctrine\ORM\PersistentCollection {#9536 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9534 …} +posts: Doctrine\ORM\PersistentCollection {#9532 …} +postVotes: Doctrine\ORM\PersistentCollection {#9530 …} +postComments: Doctrine\ORM\PersistentCollection {#9528 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9526 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9524 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9522 …} +follows: Doctrine\ORM\PersistentCollection {#9520 …} +followers: Doctrine\ORM\PersistentCollection {#9518 …} +blocks: Doctrine\ORM\PersistentCollection {#9516 …} +blockers: Doctrine\ORM\PersistentCollection {#9514 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9512 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9510 …} +reports: Doctrine\ORM\PersistentCollection {#9508 …} +favourites: Doctrine\ORM\PersistentCollection {#9506 …} +violations: Doctrine\ORM\PersistentCollection {#9504 …} +notifications: Doctrine\ORM\PersistentCollection {#9502 …} +awards: Doctrine\ORM\PersistentCollection {#9500 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9498 …} +categories: Doctrine\ORM\PersistentCollection {#9496 …} -id: 3108 -password: "$2y$13$2v2nAdsjTeQGT5pfbqRT/.rNDHJRUmy5WnNcPxe5xhnETAMaVUyXS" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9494 …} +apId: "linearchaos@lemmy.world" +apProfileId: "https://lemmy.world/u/linearchaos" +apPublicUrl: "https://lemmy.world/u/linearchaos" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "linearchaos" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729273460 {#9551 : 2024-10-18 19:44:20.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687052393 {#9550 : 2023-06-18 03:39:53.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10196 +width: 65 +height: 65 +user: App\Entity\User {#9549 +avatar: Proxies\__CG__\App\Entity\Image {#9548 …} +cover: Proxies\__CG__\App\Entity\Image {#9547 …} +email: "linearchaos@lemmy.world" +username: "@linearchaos@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "I am a Meat-Popsicle" +lastActive: DateTime @1729308159 {#9552 : 2024-10-19 05:22:39.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9546 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9544 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9542 …} +entries: Doctrine\ORM\PersistentCollection {#9540 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9538 …} +entryComments: Doctrine\ORM\PersistentCollection {#9536 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9534 …} +posts: Doctrine\ORM\PersistentCollection {#9532 …} +postVotes: Doctrine\ORM\PersistentCollection {#9530 …} +postComments: Doctrine\ORM\PersistentCollection {#9528 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9526 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9524 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9522 …} +follows: Doctrine\ORM\PersistentCollection {#9520 …} +followers: Doctrine\ORM\PersistentCollection {#9518 …} +blocks: Doctrine\ORM\PersistentCollection {#9516 …} +blockers: Doctrine\ORM\PersistentCollection {#9514 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9512 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9510 …} +reports: Doctrine\ORM\PersistentCollection {#9508 …} +favourites: Doctrine\ORM\PersistentCollection {#9506 …} +violations: Doctrine\ORM\PersistentCollection {#9504 …} +notifications: Doctrine\ORM\PersistentCollection {#9502 …} +awards: Doctrine\ORM\PersistentCollection {#9500 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9498 …} +categories: Doctrine\ORM\PersistentCollection {#9496 …} -id: 3108 -password: "$2y$13$2v2nAdsjTeQGT5pfbqRT/.rNDHJRUmy5WnNcPxe5xhnETAMaVUyXS" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9494 …} +apId: "linearchaos@lemmy.world" +apProfileId: "https://lemmy.world/u/linearchaos" +apPublicUrl: "https://lemmy.world/u/linearchaos" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "linearchaos" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729273460 {#9551 : 2024-10-18 19:44:20.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687052393 {#9550 : 2023-06-18 03:39:53.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.41 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9609 +avatar: Proxies\__CG__\App\Entity\Image {#9608 …} +cover: Proxies\__CG__\App\Entity\Image {#9607 …} +email: "solidgrue@lemmy.world" +username: "@solidgrue@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "I’m just this guy, you know?" +lastActive: DateTime @1729172286 {#9612 : 2024-10-17 15:38:06.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9606 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9604 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9602 …} +entries: Doctrine\ORM\PersistentCollection {#9600 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9598 …} +entryComments: Doctrine\ORM\PersistentCollection {#9596 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9594 …} +posts: Doctrine\ORM\PersistentCollection {#9592 …} +postVotes: Doctrine\ORM\PersistentCollection {#9590 …} +postComments: Doctrine\ORM\PersistentCollection {#9588 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9586 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9584 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9582 …} +follows: Doctrine\ORM\PersistentCollection {#9580 …} +followers: Doctrine\ORM\PersistentCollection {#9578 …} +blocks: Doctrine\ORM\PersistentCollection {#9576 …} +blockers: Doctrine\ORM\PersistentCollection {#9574 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9572 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9570 …} +reports: Doctrine\ORM\PersistentCollection {#9568 …} +favourites: Doctrine\ORM\PersistentCollection {#9566 …} +violations: Doctrine\ORM\PersistentCollection {#9564 …} +notifications: Doctrine\ORM\PersistentCollection {#9562 …} +awards: Doctrine\ORM\PersistentCollection {#9560 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9558 …} +categories: Doctrine\ORM\PersistentCollection {#9556 …} -id: 759 -password: "$2y$13$6y555FIo11R6QPa7JlgYOe5dVRCtJdhMDLupQiwRA598m4bR.ID52" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9554 …} +apId: "solidgrue@lemmy.world" +apProfileId: "https://lemmy.world/u/solidgrue" +apPublicUrl: "https://lemmy.world/u/solidgrue" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "solidgrue" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728122338 {#9611 : 2024-10-05 11:58:58.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686963234 {#9610 : 2023-06-17 02:53:54.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10253 +width: 65 +height: 65 +user: App\Entity\User {#9609 +avatar: Proxies\__CG__\App\Entity\Image {#9608 …} +cover: Proxies\__CG__\App\Entity\Image {#9607 …} +email: "solidgrue@lemmy.world" +username: "@solidgrue@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "I’m just this guy, you know?" +lastActive: DateTime @1729172286 {#9612 : 2024-10-17 15:38:06.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9606 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9604 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9602 …} +entries: Doctrine\ORM\PersistentCollection {#9600 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9598 …} +entryComments: Doctrine\ORM\PersistentCollection {#9596 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9594 …} +posts: Doctrine\ORM\PersistentCollection {#9592 …} +postVotes: Doctrine\ORM\PersistentCollection {#9590 …} +postComments: Doctrine\ORM\PersistentCollection {#9588 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9586 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9584 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9582 …} +follows: Doctrine\ORM\PersistentCollection {#9580 …} +followers: Doctrine\ORM\PersistentCollection {#9578 …} +blocks: Doctrine\ORM\PersistentCollection {#9576 …} +blockers: Doctrine\ORM\PersistentCollection {#9574 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9572 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9570 …} +reports: Doctrine\ORM\PersistentCollection {#9568 …} +favourites: Doctrine\ORM\PersistentCollection {#9566 …} +violations: Doctrine\ORM\PersistentCollection {#9564 …} +notifications: Doctrine\ORM\PersistentCollection {#9562 …} +awards: Doctrine\ORM\PersistentCollection {#9560 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9558 …} +categories: Doctrine\ORM\PersistentCollection {#9556 …} -id: 759 -password: "$2y$13$6y555FIo11R6QPa7JlgYOe5dVRCtJdhMDLupQiwRA598m4bR.ID52" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9554 …} +apId: "solidgrue@lemmy.world" +apProfileId: "https://lemmy.world/u/solidgrue" +apPublicUrl: "https://lemmy.world/u/solidgrue" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "solidgrue" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728122338 {#9611 : 2024-10-05 11:58:58.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686963234 {#9610 : 2023-06-17 02:53:54.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.37 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9489 +avatar: Proxies\__CG__\App\Entity\Image {#9488 …} +cover: null +email: "nexusband@lemmy.world" +username: "@nexusband@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "u/nexusband on Reddit" +lastActive: DateTime @1726696730 {#9492 : 2024-09-18 23:58:50.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9487 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9485 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9483 …} +entries: Doctrine\ORM\PersistentCollection {#9481 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9479 …} +entryComments: Doctrine\ORM\PersistentCollection {#9477 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9475 …} +posts: Doctrine\ORM\PersistentCollection {#9473 …} +postVotes: Doctrine\ORM\PersistentCollection {#9471 …} +postComments: Doctrine\ORM\PersistentCollection {#9469 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9467 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9465 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9463 …} +follows: Doctrine\ORM\PersistentCollection {#9413 …} +followers: Doctrine\ORM\PersistentCollection {#9415 …} +blocks: Doctrine\ORM\PersistentCollection {#9422 …} +blockers: Doctrine\ORM\PersistentCollection {#9423 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9425 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9427 …} +reports: Doctrine\ORM\PersistentCollection {#9424 …} +favourites: Doctrine\ORM\PersistentCollection {#9417 …} +violations: Doctrine\ORM\PersistentCollection {#9435 …} +notifications: Doctrine\ORM\PersistentCollection {#9432 …} +awards: Doctrine\ORM\PersistentCollection {#9440 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9437 …} +categories: Doctrine\ORM\PersistentCollection {#9445 …} -id: 4990 -password: "$2y$13$L4RmsNSM4pxzW8kh/RJQxObKhxaVudcF4VQxUn.k1jaJXfXzLJIMK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9447 …} +apId: "nexusband@lemmy.world" +apProfileId: "https://lemmy.world/u/nexusband" +apPublicUrl: "https://lemmy.world/u/nexusband" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "nexusband" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719410771 {#9491 : 2024-06-26 16:06:11.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687155943 {#9490 : 2023-06-19 08:25:43.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10310 +width: 65 +height: 65 +user: App\Entity\User {#9489 +avatar: Proxies\__CG__\App\Entity\Image {#9488 …} +cover: null +email: "nexusband@lemmy.world" +username: "@nexusband@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "u/nexusband on Reddit" +lastActive: DateTime @1726696730 {#9492 : 2024-09-18 23:58:50.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9487 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9485 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9483 …} +entries: Doctrine\ORM\PersistentCollection {#9481 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9479 …} +entryComments: Doctrine\ORM\PersistentCollection {#9477 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9475 …} +posts: Doctrine\ORM\PersistentCollection {#9473 …} +postVotes: Doctrine\ORM\PersistentCollection {#9471 …} +postComments: Doctrine\ORM\PersistentCollection {#9469 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9467 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9465 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9463 …} +follows: Doctrine\ORM\PersistentCollection {#9413 …} +followers: Doctrine\ORM\PersistentCollection {#9415 …} +blocks: Doctrine\ORM\PersistentCollection {#9422 …} +blockers: Doctrine\ORM\PersistentCollection {#9423 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9425 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9427 …} +reports: Doctrine\ORM\PersistentCollection {#9424 …} +favourites: Doctrine\ORM\PersistentCollection {#9417 …} +violations: Doctrine\ORM\PersistentCollection {#9435 …} +notifications: Doctrine\ORM\PersistentCollection {#9432 …} +awards: Doctrine\ORM\PersistentCollection {#9440 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9437 …} +categories: Doctrine\ORM\PersistentCollection {#9445 …} -id: 4990 -password: "$2y$13$L4RmsNSM4pxzW8kh/RJQxObKhxaVudcF4VQxUn.k1jaJXfXzLJIMK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9447 …} +apId: "nexusband@lemmy.world" +apProfileId: "https://lemmy.world/u/nexusband" +apPublicUrl: "https://lemmy.world/u/nexusband" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "nexusband" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719410771 {#9491 : 2024-06-26 16:06:11.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687155943 {#9490 : 2023-06-19 08:25:43.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.41 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9732 +avatar: Proxies\__CG__\App\Entity\Image {#9729 …} +cover: null +email: "peter@feddit.uk" +username: "@peter@feddit.uk" +roles: [] +followersCount: 0 +homepage: "front" +about: "[bi.gp](https://bi.gp)" +lastActive: DateTime @1729513978 {#9733 : 2024-10-21 14:32:58.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9730 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9728 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9726 …} +entries: Doctrine\ORM\PersistentCollection {#9724 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9722 …} +entryComments: Doctrine\ORM\PersistentCollection {#9720 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9718 …} +posts: Doctrine\ORM\PersistentCollection {#9716 …} +postVotes: Doctrine\ORM\PersistentCollection {#9714 …} +postComments: Doctrine\ORM\PersistentCollection {#9712 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9710 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9708 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9706 …} +follows: Doctrine\ORM\PersistentCollection {#9704 …} +followers: Doctrine\ORM\PersistentCollection {#9702 …} +blocks: Doctrine\ORM\PersistentCollection {#9700 …} +blockers: Doctrine\ORM\PersistentCollection {#9698 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9696 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9694 …} +reports: Doctrine\ORM\PersistentCollection {#9692 …} +favourites: Doctrine\ORM\PersistentCollection {#9690 …} +violations: Doctrine\ORM\PersistentCollection {#9688 …} +notifications: Doctrine\ORM\PersistentCollection {#9686 …} +awards: Doctrine\ORM\PersistentCollection {#9684 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9682 …} +categories: Doctrine\ORM\PersistentCollection {#9680 …} -id: 9592 -password: "$2y$13$1fvAobuLq1/m5tuZB/Vexul0JXEQGOURyD2lTOS6p9369zpTQwcz2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9678 …} +apId: "peter@feddit.uk" +apProfileId: "https://feddit.uk/u/peter" +apPublicUrl: "https://feddit.uk/u/peter" +apFollowersUrl: null +apInboxUrl: "https://feddit.uk/inbox" +apDomain: "feddit.uk" +apPreferredUsername: "peter" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719239657 {#9734 : 2024-06-24 16:34:17.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687550559 {#9731 : 2023-06-23 22:02:39.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10367 +width: 65 +height: 65 +user: App\Entity\User {#9732 +avatar: Proxies\__CG__\App\Entity\Image {#9729 …} +cover: null +email: "peter@feddit.uk" +username: "@peter@feddit.uk" +roles: [] +followersCount: 0 +homepage: "front" +about: "[bi.gp](https://bi.gp)" +lastActive: DateTime @1729513978 {#9733 : 2024-10-21 14:32:58.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9730 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9728 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9726 …} +entries: Doctrine\ORM\PersistentCollection {#9724 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9722 …} +entryComments: Doctrine\ORM\PersistentCollection {#9720 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9718 …} +posts: Doctrine\ORM\PersistentCollection {#9716 …} +postVotes: Doctrine\ORM\PersistentCollection {#9714 …} +postComments: Doctrine\ORM\PersistentCollection {#9712 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9710 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9708 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9706 …} +follows: Doctrine\ORM\PersistentCollection {#9704 …} +followers: Doctrine\ORM\PersistentCollection {#9702 …} +blocks: Doctrine\ORM\PersistentCollection {#9700 …} +blockers: Doctrine\ORM\PersistentCollection {#9698 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9696 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9694 …} +reports: Doctrine\ORM\PersistentCollection {#9692 …} +favourites: Doctrine\ORM\PersistentCollection {#9690 …} +violations: Doctrine\ORM\PersistentCollection {#9688 …} +notifications: Doctrine\ORM\PersistentCollection {#9686 …} +awards: Doctrine\ORM\PersistentCollection {#9684 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9682 …} +categories: Doctrine\ORM\PersistentCollection {#9680 …} -id: 9592 -password: "$2y$13$1fvAobuLq1/m5tuZB/Vexul0JXEQGOURyD2lTOS6p9369zpTQwcz2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9678 …} +apId: "peter@feddit.uk" +apProfileId: "https://feddit.uk/u/peter" +apPublicUrl: "https://feddit.uk/u/peter" +apFollowersUrl: null +apInboxUrl: "https://feddit.uk/inbox" +apDomain: "feddit.uk" +apPreferredUsername: "peter" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719239657 {#9734 : 2024-06-24 16:34:17.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687550559 {#9731 : 2023-06-23 22:02:39.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.40 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9917 +avatar: Proxies\__CG__\App\Entity\Image {#9918 …} +cover: Proxies\__CG__\App\Entity\Image {#9919 …} +email: "RandomLegend@lemmy.dbzer0.com" +username: "@RandomLegend@lemmy.dbzer0.com" +roles: [] +followersCount: 0 +homepage: "front" +about: """ [You wouldn’t download a car.](https://www.youtube.com/watch?v=Fb7N-JtQWGI)\n \n wiki-user: RandomLegend """ +lastActive: DateTime @1729373902 {#9914 : 2024-10-19 23:38:22.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9920 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9922 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9924 …} +entries: Doctrine\ORM\PersistentCollection {#9926 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9928 …} +entryComments: Doctrine\ORM\PersistentCollection {#9930 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9932 …} +posts: Doctrine\ORM\PersistentCollection {#9934 …} +postVotes: Doctrine\ORM\PersistentCollection {#9936 …} +postComments: Doctrine\ORM\PersistentCollection {#9938 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9940 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9942 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9944 …} +follows: Doctrine\ORM\PersistentCollection {#9946 …} +followers: Doctrine\ORM\PersistentCollection {#9948 …} +blocks: Doctrine\ORM\PersistentCollection {#9950 …} +blockers: Doctrine\ORM\PersistentCollection {#9952 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9954 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9956 …} +reports: Doctrine\ORM\PersistentCollection {#9958 …} +favourites: Doctrine\ORM\PersistentCollection {#9960 …} +violations: Doctrine\ORM\PersistentCollection {#9962 …} +notifications: Doctrine\ORM\PersistentCollection {#9964 …} +awards: Doctrine\ORM\PersistentCollection {#9966 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9968 …} +categories: Doctrine\ORM\PersistentCollection {#9970 …} -id: 23124 -password: "$2y$13$2m.lX2bvghWd4.e.do3V3eezE1SpTQ0/FLc/od7BnJcWSIcb4Vn9G" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9972 …} +apId: "RandomLegend@lemmy.dbzer0.com" +apProfileId: "https://lemmy.dbzer0.com/u/RandomLegend" +apPublicUrl: "https://lemmy.dbzer0.com/u/RandomLegend" +apFollowersUrl: null +apInboxUrl: "https://lemmy.dbzer0.com/inbox" +apDomain: "lemmy.dbzer0.com" +apPreferredUsername: "RandomLegend" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727145873 {#9915 : 2024-09-24 04:44:33.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689090339 {#9916 : 2023-07-11 17:45:39.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10424 +width: 65 +height: 65 +user: App\Entity\User {#9917 +avatar: Proxies\__CG__\App\Entity\Image {#9918 …} +cover: Proxies\__CG__\App\Entity\Image {#9919 …} +email: "RandomLegend@lemmy.dbzer0.com" +username: "@RandomLegend@lemmy.dbzer0.com" +roles: [] +followersCount: 0 +homepage: "front" +about: """ [You wouldn’t download a car.](https://www.youtube.com/watch?v=Fb7N-JtQWGI)\n \n wiki-user: RandomLegend """ +lastActive: DateTime @1729373902 {#9914 : 2024-10-19 23:38:22.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9920 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9922 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9924 …} +entries: Doctrine\ORM\PersistentCollection {#9926 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9928 …} +entryComments: Doctrine\ORM\PersistentCollection {#9930 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9932 …} +posts: Doctrine\ORM\PersistentCollection {#9934 …} +postVotes: Doctrine\ORM\PersistentCollection {#9936 …} +postComments: Doctrine\ORM\PersistentCollection {#9938 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9940 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9942 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9944 …} +follows: Doctrine\ORM\PersistentCollection {#9946 …} +followers: Doctrine\ORM\PersistentCollection {#9948 …} +blocks: Doctrine\ORM\PersistentCollection {#9950 …} +blockers: Doctrine\ORM\PersistentCollection {#9952 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9954 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9956 …} +reports: Doctrine\ORM\PersistentCollection {#9958 …} +favourites: Doctrine\ORM\PersistentCollection {#9960 …} +violations: Doctrine\ORM\PersistentCollection {#9962 …} +notifications: Doctrine\ORM\PersistentCollection {#9964 …} +awards: Doctrine\ORM\PersistentCollection {#9966 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9968 …} +categories: Doctrine\ORM\PersistentCollection {#9970 …} -id: 23124 -password: "$2y$13$2m.lX2bvghWd4.e.do3V3eezE1SpTQ0/FLc/od7BnJcWSIcb4Vn9G" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9972 …} +apId: "RandomLegend@lemmy.dbzer0.com" +apProfileId: "https://lemmy.dbzer0.com/u/RandomLegend" +apPublicUrl: "https://lemmy.dbzer0.com/u/RandomLegend" +apFollowersUrl: null +apInboxUrl: "https://lemmy.dbzer0.com/inbox" +apDomain: "lemmy.dbzer0.com" +apPreferredUsername: "RandomLegend" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727145873 {#9915 : 2024-09-24 04:44:33.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689090339 {#9916 : 2023-07-11 17:45:39.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 14.0 MiB | 0.36 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#9858 +avatar: Proxies\__CG__\App\Entity\Image {#9859 …} +cover: null +email: "sabreW4K3@lemmy.tf" +username: "@sabreW4K3@lemmy.tf" +roles: [] +followersCount: 0 +homepage: "front" +about: "Born and raised in London. Just a normal guy with a moral compass." +lastActive: DateTime @1719641720 {#9855 : 2024-06-29 08:15:20.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9860 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9862 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9864 …} +entries: Doctrine\ORM\PersistentCollection {#9866 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9868 …} +entryComments: Doctrine\ORM\PersistentCollection {#9870 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9872 …} +posts: Doctrine\ORM\PersistentCollection {#9874 …} +postVotes: Doctrine\ORM\PersistentCollection {#9876 …} +postComments: Doctrine\ORM\PersistentCollection {#9878 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9880 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9882 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9884 …} +follows: Doctrine\ORM\PersistentCollection {#9886 …} +followers: Doctrine\ORM\PersistentCollection {#9888 …} +blocks: Doctrine\ORM\PersistentCollection {#9890 …} +blockers: Doctrine\ORM\PersistentCollection {#9892 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9894 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9896 …} +reports: Doctrine\ORM\PersistentCollection {#9898 …} +favourites: Doctrine\ORM\PersistentCollection {#9900 …} +violations: Doctrine\ORM\PersistentCollection {#9902 …} +notifications: Doctrine\ORM\PersistentCollection {#9904 …} +awards: Doctrine\ORM\PersistentCollection {#9906 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9908 …} +categories: Doctrine\ORM\PersistentCollection {#9910 …} -id: 18722 -password: "$2y$13$vnNBQzx7/q0nMnGivsVptul1Uh8CXMJXU5oJswLcXSPiiZbMKPzUa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9912 …} +apId: "sabreW4K3@lemmy.tf" +apProfileId: "https://lemmy.tf/u/sabreW4K3" +apPublicUrl: "https://lemmy.tf/u/sabreW4K3" +apFollowersUrl: null +apInboxUrl: "https://lemmy.tf/inbox" +apDomain: "lemmy.tf" +apPreferredUsername: "sabreW4K3" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719228515 {#9856 : 2024-06-24 13:28:35.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688508579 {#9857 : 2023-07-05 00:09:39.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10481 +width: 65 +height: 65 +user: App\Entity\User {#9858 +avatar: Proxies\__CG__\App\Entity\Image {#9859 …} +cover: null +email: "sabreW4K3@lemmy.tf" +username: "@sabreW4K3@lemmy.tf" +roles: [] +followersCount: 0 +homepage: "front" +about: "Born and raised in London. Just a normal guy with a moral compass." +lastActive: DateTime @1719641720 {#9855 : 2024-06-29 08:15:20.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9860 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9862 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9864 …} +entries: Doctrine\ORM\PersistentCollection {#9866 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9868 …} +entryComments: Doctrine\ORM\PersistentCollection {#9870 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9872 …} +posts: Doctrine\ORM\PersistentCollection {#9874 …} +postVotes: Doctrine\ORM\PersistentCollection {#9876 …} +postComments: Doctrine\ORM\PersistentCollection {#9878 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9880 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9882 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9884 …} +follows: Doctrine\ORM\PersistentCollection {#9886 …} +followers: Doctrine\ORM\PersistentCollection {#9888 …} +blocks: Doctrine\ORM\PersistentCollection {#9890 …} +blockers: Doctrine\ORM\PersistentCollection {#9892 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9894 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9896 …} +reports: Doctrine\ORM\PersistentCollection {#9898 …} +favourites: Doctrine\ORM\PersistentCollection {#9900 …} +violations: Doctrine\ORM\PersistentCollection {#9902 …} +notifications: Doctrine\ORM\PersistentCollection {#9904 …} +awards: Doctrine\ORM\PersistentCollection {#9906 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9908 …} +categories: Doctrine\ORM\PersistentCollection {#9910 …} -id: 18722 -password: "$2y$13$vnNBQzx7/q0nMnGivsVptul1Uh8CXMJXU5oJswLcXSPiiZbMKPzUa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9912 …} +apId: "sabreW4K3@lemmy.tf" +apProfileId: "https://lemmy.tf/u/sabreW4K3" +apPublicUrl: "https://lemmy.tf/u/sabreW4K3" +apFollowersUrl: null +apInboxUrl: "https://lemmy.tf/inbox" +apDomain: "lemmy.tf" +apPreferredUsername: "sabreW4K3" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719228515 {#9856 : 2024-06-24 13:28:35.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688508579 {#9857 : 2023-07-05 00:09:39.0 +02:00 } } +asLink: true } |
related_categories | App\Twig\Components\RelatedCategoriesComponent | 14.0 MiB | 11.52 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "homeassistant@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedCategoriesComponent {#10543 +limit: 4 +tag: null +magazine: "homeassistant@lemmy.world" +type: "related" +title: "related_categories" +refreshedRandom: false -repository: App\Repository\CategoryRepository {#10544 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
related_posts | App\Twig\Components\RelatedPostsComponent | 14.0 MiB | 38.52 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "homeassistant@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedPostsComponent {#10620 +limit: 4 +tag: null +magazine: "homeassistant@lemmy.world" +type: "magazine" +post: null +title: "related_posts" +refreshedRandom: false -repository: App\Repository\PostRepository {#10621 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#390 …} } |
related_entries | App\Twig\Components\RelatedEntriesComponent | 14.0 MiB | 15.49 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "homeassistant@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedEntriesComponent {#10741 +limit: 4 +tag: null +magazine: "homeassistant@lemmy.world" +type: "magazine" +entry: null +title: "related_entries" +refreshedRandom: false -repository: App\Repository\EntryRepository {#271 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#390 …} } |
support_us_block | App\Twig\Components\SupportUsBlock | 14.0 MiB | 0.83 ms | |
---|---|---|---|---|
Input props | [] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SupportUsBlock {#10796 +subject: ? App\Entity\Contracts\VotableInterface +url: ? string -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -partnerBlockRepository: App\Repository\PartnerBlockRepository {#10795 …} } |
featured_magazines | App\Twig\Components\FeaturedMagazinesComponent | 14.0 MiB | 2.12 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\FeaturedMagazinesComponent {#10871 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "homeassistant@lemmy.world" +title: "homeassistant" +description: "Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io" +rules: null +subscriptionsCount: 1 +entryCount: 46 +entryCommentCount: 460 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729539860 {#276 : 2024-10-21 21:44:20.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 145 +apId: "homeassistant@lemmy.world" +apProfileId: "https://lemmy.world/c/homeassistant" +apPublicUrl: "https://lemmy.world/c/homeassistant" +apFollowersUrl: "https://lemmy.world/c/homeassistant/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "homeassistant" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1710368376 {#270 : 2024-03-13 23:19:36.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1704127905 {#272 : 2024-01-01 17:51:45.0 +01:00 } } -twig: Twig\Environment {#1252 …} -repository: App\Repository\MagazineRepository {#334 …} } |